Basics
- <!DOCTYPE HTML PUBLIC ""> document type declaration
- <html><head><body> basic elements
- <html lang=""> document language
- <html dir=""> text direction of a document
- <title> document title
Background, Margin ...
- <body bgcolor="" text="" link="" alink="" vlink=""> body background color and text color
- <body background=""> body background image
- <body background="" bgproperties="fixed"> fixed background image
- <body topmargin="" bottommargin="" leftmargin="" rightmargin="" marginheight="" marginwidth=""> body margin
- <body scroll="no"> controls the scroll
Meta information
- <meta http-equiv="Content-Type" content=""> character set
- <meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Cache-Control" content="no-cache"> cache control
- <meta http-equiv="Expires" content=""> expiration date of the document
- <meta http-equiv="Content-Script-Type" content="text/javascript"> scripting language
- <meta http-equiv="Content-Style-Type" content="text/css"> style sheet language
- <meta http-equiv="Refresh" content=""> automatic refreshing
- <meta http-equiv="Refresh" content=""> automatic forwarding
- <meta http-equiv="Imagetoolbar" content="no"> controls the image-toolbar
- <meta name="Keywords" content=""><meta name="Description" content=""> document keywords and description
- <meta name="Robots" content=""> controls the robots
- <meta name="Author" content=""> author information
- <meta name="Generator" content=""> generator information
Stylesheet, Script
- <style type="text/css"> header style information
- <link rel="stylesheet" type="text/css" href=""> the link to an external CSS file
- <script type="text/javascript"> defines a JavaScript
- <script type="text/javascript" src=""> imports an external JavaScript file
- <noscript> alternative content for non-script users
Favicon
- <link rel="shortcut icon" href="favicon.ico"> the link to the Favicon file
Horizontal Rule
- <hr> horizontal rule
- <hr size="" width="" align=""> the size and alignment of the horizontal rule
- <hr noshade> no shade on the horizontal rule
- <hr color=""> the color of the horizontal rule