0
<!DOCTYPE html>
What am I trying to do here?
4 odpowiedzi
+ 1
Fasakin Anuoluwapo Angel 
It's a declaration which is essential to tell the 'web browser' that this document should be interpreted as an HTML5 document.
+ 1
When using HTML to design web pages, it will be the default starting line of each page. A HTML file must contain this line in order to display the page correctly.
An example code of an HTML page:
<!DOCTYPE html>
<html> <!-- Starting the content of the HTML file -->
    <head> <!-- Anything here wont be shown in the page. This section includes script and settings -->
        <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Fit to screens with various sizes -->
        <title>Example HTML Page</html> <!-- The title of the page, shown in the name of the browser tab -->
    </head> <!-- Closing tag -->
    <body> <!-- This section will be shown in the page. Can include containers, text, scripts and more (Scripts wont be visible) -->
        <h1>Example HTML Page</h1> <!-- A heading -->
    </body>
</html> <!-- A closing tag -->
0
starting of html document



