HTML Reference
Basic Tags/Attributes
Tag/Attribute | Description |
<!-- --> | Defines a comment |
<!DOCTYPE html> | Indicates that HTML5 is used on a page |
<body> | Contains the content appearing on a page |
<br> | Creates a line break |
<h1>, <h2>, <h3>, <h4>, <h5>, <h6> | Creates heading levels |
<head> | Contains the page title, style sheets, scripts, and metadata |
<html> | Identifies an HTML document |
<meta> | Defines extra information, or metadata, for a page |
content | Defines the metadata content |
name | Defines the type of metadata |
<p> | Defines a paragraph |
<title> | Creates a title for a Web page |
Text Formatting Tags/Attributes
Tag/Attribute | Description |
<abbr> | Defines abbreviated text |
title | Defines the abbreviated term |
<address> |
Get Teach Yourself Visually™ HTML5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.