HTML and CSS Reference
In-Depth Information
displayed as a separate line in the browser.
The <progress> element is used to visually display a value that changes over time, such as the per-
centage of a file that has been downloaded.
<progress max=”100” value=”23”>
The <q> element is used to mark up a quotation used within flowing text.
Shakespeare once wrote <q> to be or not to be, that is the question </q> .
The <s> element is used to mark up content that is no longer accurate or relevant. Content placed with-
in an <s> element will usually be rendered with strikethrough.
Price: <s> £5.99 </s> Now only £2.99.
The <script> element is used to add JavaScript code to a web page. You can also use the optional
src attribute to load JavaScript from an external file.
<script src=”script.js”></script>
The <section> element is used to mark up a block of related content, such as chapters in a book.
Each <section> can optionally contain a <header> and <footer> element.
<h1>Chapter 1</h1>
The section text would go here.
By Matt West.
The <select> element is used for creating a form control that consists of a set of options displayed in
a drop-down menu.
<select name=”color”>
The <small> element is used for marking up the “fine print.” This is content such as legal disclaimers
and copyright information. This element should not be used to mark up the content of an entire page
(such as a privacy policy).
<small>Copyright 2012 Matt West. All Rights Reserved.</small>
Search WWH ::

Custom Search