Internal structure of an HTML page.


The HTML instructions are enclosed between characters <and>.
Many HTML elements require a name beginning and an end. Everything that is beyond language markings printed on the screen (within the browser).
The basic structure of an HTML page is:
<! DOCTYPE html>
<Title> Page Title </ title>
</ Head>
Page body.
</ Body>
</ Html>

An HTML page is a file that usually has the extension html characters. For example we can call our first page with the name: index.html

These are the basics that any HTML page should carry:
The first is the DOCTYPE tells the browser that the following content is an HTML file (all modern browsers analyzed the presence of the DOCTYPE)
Then continues with the brand: <html> and ends with the brand: </ html> at the end of the file.
The aims of the same name marks the start of brand, plus the character /

An HTML page has two well defined sections are the header:
</ Head>
And the body of the page:
Page body.
</ Body>

At the head is common to initialize the page title in the <title> </ title> (usually displayed on the top bar of your browser and is used by search engines like Google to index page) The title should refer to the actual content of the page.
All text that we have within the <body> appears inside the browser as it is what we wrote. Every page has at least this structure: header and body.

Another important thing is that HTML is not case sensitive and lowercase, ie we can write it as we like, also does not require that we have each mark on a line (we could even write a whole page in one line! Which is not should because we are the ones who have to change it at some point).

I recommend typing HTML tags to memorize. It is convenient to copy and paste. When you remember all brands, you can copy and paste chunks of HTML pages to speed development.

Members online

No members online now.