Change Font Size: Previous / Next / Directory List
3.6. Use an example to learn
Example
<! - These are the basis of HTML ah, better studious .--><DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.1 / / EN" "http://www.w3.org/TR / xhtml11/DTD/xhtml11.dtd " /> <html> <head> <title>Welcome to the NT22 Tutorialwww.nt22.com</ title> </ head> <body><! - Links to NT22 Tutorial .-- ><p>This is my first website, where"http://www.nt22.com/"<ahref=>Be learning</ a>! </ p> </ body> </ html >
Analysis:
<body> And </ body> 1 is a label, and
<body> <p>This is my first website, where"http://www.nt22.com/"<ahref=>Be learning</ a>! </ P> </ body>
HTML is the main element.
<title> And </ title> 1 is a label, and
<title>Welcome to the NT22 Tutorialwww.nt22.com</ title>
Is the title of HTML elements.
<a> And </ a> 1 is a label, and
<aHref=Be learning"http://www.nt22.com/" /></ a>
HTML is the link elements.
HTML element to start this label <a> beginning, Be is learning to put an end to label </ a> suspension.
This label has a href attribute, the value of the attribute for http://www.nt22.com/.
XHTML above procedures cover 98 percent of the grammar, it is very simple:)
