O'Reilly logo

Teach Yourself Visually™ HTML5 by Mike Wooldridge

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required