HTML and CSS Reference
In-Depth Information
<th>Subject</th>
<th>Result</th>
</tr>
</thead>
The
<thead>
element is used to group a block of rows that contain table headings.
<thead>
<tr>
<th>Subject</th>
<th>Result</th>
</tr>
</thead>
<thead>
The
<time>
element allows you to write human-readable dates that will be displayed to the user and
also provide a machine-readable date to be used by computer programs. Machine-readable dates are
specified using the
datetime
attribute.
<time>
<time datetime=”2012-08-28”>Next Tuesday</time>
The
<title>
element is used to set the title of the web page. This will be displayed at the very top of
your browser window and/or in the browser tab.
<title>
<title>HTML5 Foundations</title>
The
<tr>
element is used to mark up a row in a table.
<table>
<tr>
<td>This is row number one</td>
</tr>
<tr>
<td>This is row number two</td>
</tr>
</table>
<tr>
The
<track>
element is used to link a subtitle's file to a media element such as
<video>
or
<audio>
.
<video src=”mikethefrog.webm”>
<track src=”subtitles.vtt” kind=”subtitles” srclang=”en” label=”English”>
</video>
<track>
The
<ul>
element is used to create an unordered list that contains 0 or more
<li>
elements. The or-
der of the items in an unordered list is not significant.
<ul>
<li>A List Item</li>
<li>Another List Item</li>
</ul>
<ul>
The
<video>
element is used to embed a video file within a web page. A path to the video file can be
specified either using the
src
attribute or by using a
<source>
element. Multiple
<source>
elements
can be used to provide additional versions of a video file.
<video>
<video src=”mikethefrog.webm”></video>