HTML and CSS Reference
In-Depth Information
<label for=”email”>Email:</label>
<input type=”email” name=”email” id=”email”>
The <figcaption> element is used to add a caption to a <figure> element.
<img src=”figure.jpg” alt=”My Figure”>
This is my figure.
The <figure> element is used to mark up a self-contained piece of content that is referenced from the
main content of the page. These figures are usually images, diagrams, tables, or code listings.
The use of a <figcaption> element is optional.
function boo() {
<figcaption>A simple JavaScript function that displays an alert to the user
with the text “boo!”.</figcaption>
The <footer> element is used to mark up the footer section of a document (or the footer of a <sec-
tion> or <article> ). This element typically contains metadata about its parent section or page, such
as copyright information.
<h1>Section Title</h1>
<p>Some content goes here...</p>
Copyright Joe's Pizza Co. 2012
The <form> element is used to mark up a collection of form-field elements that can be submitted to a
server. The action attribute specifies a path to a file that will handle processing the form data, and the
method attribute specifies how the data should be sent.
<form action=”process.php” method=”POST”>
<label for=”name”>Name:</label>
<input type=”text” name=”name” id=”name”>
<input type=”submit” value=”Send”>
Search WWH ::

Custom Search