HTML/head
From DocForge
< HTML
The head element of an HTML document declares meta data for the document. This information is typically not displayed directly on a web page, but instead can provide a title, formatting, copyright, keywords, and any other relevant data.
The head element is typically the first element within the root html element of a document.
Example [edit]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>First Page</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="/screen.css" rel="stylesheet" type="text/css" /> </head> <body> ...
Child Elements [edit]
- HTML/base
- HTML/link
- HTML/meta
- HTML/script - Declares JavaScript
- HTML/style - Declares CSS directly within the document
- HTML/title - The title element is the only one required to be within the head element

