Professional Documents
Culture Documents
Tag
<!DOCTYPE>
<html>
<head>
<title>
<body>
<h1> to <h6>
<p>
<br>
<hr>
<!--...-->
Formatting
Tag
<acronym>
<abbr>
<address>
<b>
<bdi>
<bdo>
<big>
<blockquote>
<center>
<cite>
<code>
<del>
<dfn>
<em>
<font>
<i>
<ins>
<kbd>
<mark>
<meter>
<pre>
<progress>
<q>
<rp>
<rt>
<ruby>
<s>
<samp>
<small>
<strike>
<strong>
<sub>
<sup>
<template>
<time>
<tt>
<u>
<var>
<wbr>
<input>
<textarea>
<button>
<select>
<optgroup>
<option>
<label>
<fieldset>
<legend>
<datalist>
<output>
Frames
Tag
<frame>
<frameset>
<noframes>
<iframe>
Images
Tag
<img>
<map>
<area>
<canvas>
<figcaption>
<figure>
<picture>
<svg>
Audio / Video
Tag
<audio>
<source>
<track>
<video>
Links
Tag
<a>
<link>
<nav>
Lists
Tag
<ul>
<ol>
<li>
<dir>
<dl>
<dt>
<dd>
Tables
Tag
<table>
<caption>
<th>
<tr>
<td>
<thead>
<tbody>
<tfoot>
<col>
<colgroup>
Styles and
Semantics
Tag
<style>
<div>
<span>
<header>
<footer>
<main>
<section>
<article>
<aside>
<details>
<dialog>
<summary>
<data>
Meta Info
Tag
<head>
<meta>
<base>
<basefont>
Programming
Tag
<script>
<noscript>
<applet>
<embed>
<object>
<param>
Description
Defines the document type
Defines an HTML document
Defines a paragraph
Inserts a single line break
Defines a thematic change in the content
Defines a comment
Description
Not supported in HTML5. Use <abbr> instead.
Defines an acronym
Defines an abbreviation or an acronym
Defines contact information for the author/owner of a
document/article
Defines a date/time
Not supported in HTML5. Use CSS instead.
Defines teletype text
Defines text that should be stylistically different from
normal text
Defines a variable
Defines a possible line-break
Description
Defines an HTML form for user input
Description
Not supported in HTML5.
Defines a window (a frame) in a frameset
Not supported in HTML5.
Defines a set of frames
Not supported in HTML5.
Defines an alternate content for users that do not
support frames
Defines an inline frame
Description
Defines an image
Defines a client-side image-map
Description
Defines sound content
Description
Defines a hyperlink
Defines the relationship between a document and an
external resource (most used to link to style sheets)
Defines navigation links
Description
Defines an unordered list
Description
Defines a table
Defines an article
Description
Defines information about the document
<html>
<head>
<title>Title of the document</title>
</head>
<body>
The content of the document......
</body>
</html>
<head>
<title>Title of the document</title>
</head>
<ul>
<li>User <bdi>hrefs</bdi>: 60 points</li>
<li>User <bdi>jdoe</bdi>: 80 points</li>
<li>User <bdi><إيان/bdi>: 90 points</li>
</ul>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has been protecting the future of nature. The
world's leading conservation organization, WWF works in 100
countries and is supported by 1.2 million members in the United
States and close to 5 million globally.
</blockquote>
<cite>The Scream</cite>
<code>button</code>
<del>blue</del>
<dfn>HTML</dfn>
<em>have</em>
<i>Lorem ipsum</i>
<ins>red</ins>!
<kbd>Ctrl</kbd>
<mark>milk</mark>
<rp>(</rp>
<ruby>
漢 <rt> ㄏㄢˋ </rt>
</ruby>
<s>My car is blue.</s>
<samp>File not found.<br>Press F1 to continue</samp>
<small>This is some smaller text.</small>
<strong>Strong text</strong>
<sub>subscript</sub>
<sup>superscript</sup>
<template>
<h2>Flower</h2>
<img src="img_white_flower.jpg">
</template>
<time>10:00</time>
<u>parragraph</u>
<var>h</var>
<wbr>Http<wbr>
<form action="/action_page.php" method="get">
<label for="fname">First name:</label>
<input type="text" id="fname" name="fname"><br><br>
<label for="lname">Last name:</label>
<input type="text" id="lname" name="lname"><br><br>
<input type="submit" value="Submit">
</form>
<select id="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
<fieldset>
<legend>Personalia:</legend>
<label for="fname">First name:</label>
<input type="text" id="fname" name="fname"><br><br>
<label for="lname">Last name:</label>
<input type="text" id="lname" name="lname"><br><br>
<label for="email">Email:</label>
<input type="email" id="email" name="email"><br><br>
<label for="birthday">Birthday:</label>
<input type="date" id="birthday" name="birthday"><br><br>
<input type="submit" value="Submit">
</fieldset>
<legend>Personalia:</legend>
<datalist id="browsers">
<option value="Internet Explorer">
<option value="Firefox">
<option value="Chrome">
<option value="Opera">
<option value="Safari">
</datalist>
<output name="x" for="a b"></output>
<iframe src="https://www.w3schools.com"></iframe>
Try it Yourself »
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" href="sun.htm"
alt="Sun">
<area shape="circle" coords="90,58,3" href="mercur.htm"
alt="Mercury">
<area shape="circle" coords="124,58,8" href="venus.htm"
alt="Venus">
</map>
<area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun">
<canvas id="myCanvas"></canvas>
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio tag.
</audio>
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
<li>Coffee</li>
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>
<dt>Milk</dt>
<caption>Monthly savings</caption>
<th>Month</th>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<td>January</td>
<thead>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
</thead>
<tbody>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Sum</td>
<td>$180</td>
</tr>
</tfoot>
<style>
h1 {color:red;}
p {color:blue;}
</style>
<div class="myDiv">
<h2>This is a heading in a div element</h2>
<p>This is some text in a div element.</p>
</div>
<span style="color:blue">blue</span>
<header>
<h1>A heading here</h1>
<p>Posted by John Doe</p>
<p>Some additional information here</p>
</header>
<footer>
<p>Author: Hege Refsnes</p>
<p><a
href="mailto:hege@example.com">hege@example.com</a></p>
</footer>
<main>
<h2>Web Browsers</h2>
<p>Chrome, Firefox, and Edge are the most used browsers
today.</p>
<article>
<h3>Google Chrome</h3>
<p>Chrome is a free, open-source web browser developed by
Google, released in 2008.</p>
</article>
</main>
<section>
<h2>WWF</h2>
<p>The World Wide Fund for Nature (WWF) is....</p>
</section>
<article>
<h2>Google Chrome</h2>
<p>Google Chrome is a web browser developed by Google, released
in 2008. Chrome is the world's most popular web browser today!
</p>
</article>
<aside>
<h4>Epcot Center</h4>
<p>Epcot is a theme park at Walt Disney World Resort featuring
exciting attractions, international pavilions, award-winning fireworks
and seasonal special events.</p>
</aside>
<details>
<summary>Epcot Center</summary>
<p>Epcot is a theme park at Walt Disney World Resort featuring
exciting attractions, international pavilions, award-winning fireworks
and seasonal special events.</p>
</details>
<head>
<title>Title of the document</title>
</head>