Demo: HTML content

Character references

Comments

Text that is usually rendered as italics

Now that is a good idea.

A bicycle is a vehicle with two wheels.

I enjoyed His dark materials.

She said au revoir.

Text that is usually rendered as bold

Important: Close the door!

I like apples and bananas.

Link to another website Link to page of current website Link to ID of current page

Images

HTML5 logo: “HTML” above a shield with a 5
Source: W3C

Displaying code: <code> and <pre>

The <img> tag.

  <strong>important<strong/>
  

Paragraphs and line breaks

This is a line break
inside the first paragraph.

Second paragraph with two lines.

Generic containers: <span> and <div>

Inline content goes here.

Block content goes here.

Block quotations

For myself, I am an optimist — it does not seem to be much use being anything else.

— Winston Churchill

Lists

  1. First take these steps:
  2. Then take these steps:

Tables

Acronym Meaning
WWW World Wide Web
HTML Hypertext Markup Language
HTTP Hypertext Transfer Protocol