HTML document structure

5 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
This is a free item
$0.00
د.إ0.00
Kz0.00
ARS$0.00
A$0.00
৳0.00
Лв0.00
Bs0.00
B$0.00
P0.00
CA$0.00
CHF 0.00
CLP$0.00
CN¥0.00
COP$0.00
₡0.00
Kč0.00
DKK kr0.00
RD$0.00
DA0.00
E£0.00
ብር0.00
€0.00
FJ$0.00
£0.00
Q0.00
GY$0.00
HK$0.00
L0.00
Ft0.00
₪0.00
₹0.00
ISK kr0.00
¥0.00
KSh0.00
₩0.00
DH0.00
L0.00
ден0.00
MOP$0.00
MX$0.00
RM0.00
N$0.00
₦0.00
C$0.00
NOK kr0.00
रु0.00
NZ$0.00
S/0.00
K0.00
₱0.00
₨0.00
zł0.00
₲0.00
L0.00
QR0.00
SAR0.00
SEK kr0.00
S$0.00
฿0.00
₺0.00
$U0.00
R0.00
ZK0.00
Already have an account? Log In

Transcript

So let's start our lesson from creating new HTML document. document. One, as you can see in this document, first line is doctype document type definition, voice sign, exclamation mark and doctype. Space HTML and great talk. So this first line of file, it definis version of HTML standard. In this case, it's html5 the most recent model starter wire is also a lot of previous standards.

For example, HTML for HTML three. But in this course, we will use only modern html5. document type definition tells your browser program which version of HTML standard view will be used. If you do not provide this first line, your browser can speech rendering of HTML document. encrypt smart speech can causes some problems with displaying modern html5 elements or it will not understand CSS free rules or modern ml talks. So it's important to keep this line first in your HTML document and it will tell your browser how to work with the current document.

There is two types of HTML tags. The very single talk such as doctype in this example, document and there is open and closing talk. For example, in this HTML is open talk and this matching clothes talk. So, in this example, one is the entry attribute, both document and E M is the your lunch attribute talks can carry one or more attributes or different values and it may have no attributes for example, in the head, there is no attribute but hit is also close doc hit the special area of your document where meta information for example, a usage charter characters' set document title and it will not be displayed in the document. But its area of the document is important. This body section which is displayed even with a browser for example, I will add page one and top it to create further one document and I will write some for example, look for one title and we will view how to look in, in the Chrome browser.

So, as you can see title, much the value inside title, talk and document want title is displayed in the document body. So, any information you want to be displayed in your document Must be inside Body Talk and meta information. charters Set Key vaults this creeps in robots. txt SEO settings, styles and scripts are placed inside the head section of the HTML document

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.