Skip to Content
Web Design in a Nutshell, 3rd Edition
book

Web Design in a Nutshell, 3rd Edition

by Jennifer Robbins
February 2006
Intermediate to advanced
826 pages
63h 42m
English
O'Reilly Media, Inc.
Content preview from Web Design in a Nutshell, 3rd Edition

Name

html

Synopsis

<html>...</html>

This is the root element of an HTML document, meaning all other elements are contained within it. The opening <html> tag is placed at the beginning of the document, just after the document type declaration. The closing tag goes at the end of the document.

Attributes

Internationalization(lang, xml:lang, dir)

version="-//W3C//DTD HTML 4.01//EN"

Deprecated in HTML 4.01. In HTML, the value of version is a Formal Public Identifier (FPI) that specifies the version of HTML the document uses (the value above specifies 4.01). In HTML 4.01, the version attribute is deprecated because it is redundant with information provided in the DOCTYPE declaration. In XHTML 1.0, the value of version has not been defined.

xmlns="http://www.w3.org/1999/xhtml"

XHTML only. Required. In an XHTML document, this declares the XML namespace for the document.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Responsive Web Design with HTML5 and CSS3

Beginning Responsive Web Design with HTML5 and CSS3

Jonathan Fielding

Publisher Resources

ISBN: 0596009879Errata Page