HTML and CSS Reference
In-Depth Information
a <body> tag should be found for browsers that do not support frames. A visual
representation of this idea is shown here:
Doctype statement indicates type of document
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Frameset//EN" "http://www.w3.org/TR/html4
frameset.dtd">
<html>
<head>
<meta http-equip="Content-Type"
content="text/html; charset=utf-8">
<title>Page Title</title>
Head contains
info about page
</head>
Root HTML
element
encloses
entire doc
<frameset>
<frame />
<frame />
Frameset
</frameset>
<noframes>
<body>
Body
</body>
</noframes>
</html>
Filename: template.html
HTML5 does not support standard frames, though it does preserve inline frames.
Chapter 2 addresses that HTML5-specific change; for now, we'll concentrate on a typical
document structure and drill into each element until we reach the very characters displayed.
Roughly speaking, the structure of a non-framed (X)HTML document breaks out like so:
Some <!DOCTYPE> statement
HTML
HEAD
BODY
 
Search WWH ::




Custom Search