Tags in HTML5-part2

<figure> tag
The HTML <figure> tag is used for annotating illustrations, diagrams, photos, code listings, etc.You can use the <figure> element to associate a caption together with some embedded content, such as a graphic or video.
<form> tag
The <form> tag is used to create an HTML form for user input.The form element contains one or more form elements like: button, input, keygen, object, output, select, textarea and more.
Example
<!DOCTYPE HTML>
<html><body>
<form action="form_action.asp">
First name: <input type="text" name="fname" value="david" /><br />
Last name:<input type="text" name="lname" value="Attenborough" />
<br />
<input type="submit" value="Submit" />
</form>
<p>Click the "Submit" button and the input will be sent to a page
on the server called "form_action.asp".</p></body>
</html>
<h1> to <h6>
These levels from h1 to h6 specify the text size from 1 to 6.
<!DOCTYPE HTML>
<html>
<body>
<h1>This is header 1</h1>
<h2>This is header 2</h2>
<h3>This is header 3</h3>
<h4>This is header 4</h4>
<h5>This is header 5</h5>
<h6>This is header 6</h6>
</body>
</html>
<i> tag
The HTML <i> tag is render a text in italic. It is normally used to differentiate a part of a text from others.
<p>check out <i>learnwebdevelopment.info</i>, to know more about web designing.</p>
<iframe> tag
iframe tag is used to specify and create an inline frame that contains another document or a webpage
<iframe src="<a href="http://learnwebdevelopment.info/">
http://learnwebdevelopment.info/</a>"></iframe>
<img>tag
<img> is used to embed an image to our document.
<img src="hotsunday.gif" alt="Hot Sunday" />
Attributes:
*Alt : specifies an alternative name to that image.
*Src : specifies the source of the image.
*Height : specifies the height of the image.
*Width : specifies the width of the image.
<input> tag
The HTML <input> tag is used within a form to declare an input element – a control that allows the user to input data.
<form action="form_action.asp" method="get">
First name: <input type="text" name="fname" /><br />
Last name: <input type="text" name="lname" /><br />
<input type="submit" value="Submit" />
</form>
<ins> tag
This is used to markup a text and to highlight it from other text.
<p>I can visit <del>very</del> <ins>www.learnwebdevelopment.info</ins> to gain insight knowledge in webdevelopment.</p>
<kbd> tag
This is another kind of text formatter to distinguish the text from the rest.
<kbd>Keyboard text</kbd>
<Keygen> tag
The HTML <keygen> tag is used for generating a key pair. When the control’s form is submitted, the private key is stored in the local keystore, and the public key is packaged and sent to the server.
<label> tag
<label> tag defines a label for the input element. When a label is used in a radiobutton or a checkbox the text that is associated with a particular input element can be triggered to invoke the input element.
<form>
<label for="banana"> banana </label>
<input type="radio" name="sex" id=" banana " />
<br />
<label for="Apple"> Apple </label>
<input type="radio" name="sex" id=" Apple " />
</form>
<legend> tag
The HTML <legend> tag is used for providing a title or explanatory caption for the rest of the contents of the legend element’s parent element.
<form>
<fieldset>
<legend>Personalia:</legend>
Name: <input type="text" size="30" /><br />
Email: <input type="text" size="30" /><br />
Date of birth: <input type="text" size="10" />
</fieldset>
</form>
<li> tag
<li> tag defines a list of items.
<OL> tag
Ordered list here the elements that are grouped under are prefixed with numbers ..like 1 ,2 ,3
<ol>
<li>Cats</li>
<li>Dogs</li>
</ol>
We can also set the starting value using the attribute start
<ol>
<li value="5">Cats</li>
<li>Dogs</li>
</ol>
<UL> tag
In unordered list bullets can be used to index an element.
<ul>
<li>Cats</li>
<li>Dogs</li>
</ul>
<link> tags
<link> tags are mostly in stylesheet and are used connect document to an external resource.
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css" />
</head>
<mark> tag
The HTML <mark> tag is used for indicating text as marked or highlighted for reference purposes, due to its relevance in another context.
<p>HTML5 supports <mark>audio</mark> and <mark>video</mark> which was not present in the previous version.</p>
<menu> tag
The HTML menu tag is used for specifying a list of commands.
<menu>
<li>Command 1</li>
<li>Command 2</li>
<li>Command 3</li>
</menu>
<meta> tag
<meta> tag is used to add meta description to the document.
<head>
<meta name="description" content="Free Web tutorials" />
<meta name="keywords" content="HTML,CSS,XML,JavaScript" />
<meta name="author" content="Ståle Refsnes" />
<meta charset="UTF-8" />
</head>
<meter> tag
The HTML <meter> tag is used for indicating a scalar measurement within a known range, or a fractional value.
Also known as a gauge, usage could include displaying disk usage, the amount raised during fundraising activities, or the relevance of a search query result.
<meter value="2" min="0" max="10">2 out of 10</meter><br />
<meter value="0.6">60%</meter>
<nav > tag
The HTML <nav> tag is used for declaring a navigational section of the HTML document.
<nav>
<a href="/css/" target="_blank">CSS</a> |
<a href="/html/" target="_blank">HTML</a> |
<a href="/javascript/" target="_blank">JavaScript</a> |
<a href="/sql/tutorial/" target="_blank">SQL</a>
</nav>
<P> tag
<p> tag is used to define a paragraph.
<p>This paragraph is defined using the HTML p tag.</p>
<param> tag
This tag is used to pass parameter to embedded object.
<object data="song.mp3">
<param name="autoplay" value="false" />
</object>
<pre> tag
The <pre> tag defines preformatted text.The same format is displayed in the webpage too.
<pre>
This text would be
Displayed in the same
Way as how it is formatted
Here.</pre>
<progress> tab
<progress> tab is used to represent the progress of a task using task bar.
The file’s downloading progress:
<progress value="22" max="100">
</progress>
<q> tag
<q> tag is used to apply quotes to a text.” “
<p> u can learn webdevelopment from <q>webdevelopment.info</q></p>
<ruby> tag
The HTML <ruby> tag is utilized for indicating Ruby explanations, which is utilized in East Asian typography.
<samp> tag
The HTML <samp> tag is utilized for showing test yield from a PC program, content and so forth. The samp label encompasses the example word/state.
<script> tag
The HTML <script> tag is utilized for announcing a content, (for example, JavaScript) inside your HTML record.
<script type="text/javascript">
document.write("Hello World!")
</script>
<select> tag
The HTML <select> tag is used for defining a select list.
<select>
<option value ="HTML">HTML</option>
<option value ="CSS">CSS</option>
<option value ="PHP" selected>PHP</option>
</select>
<small > tag
<small> tag is used to specify small print.
<p><small>© Copyright QualityPoint Technologies</small></p>
<source> tag
The HTML <source> tag is utilized to indicate different media assets on media components (such as <audio> and <video>).
<audio controls="controls">
<source src="song.ogg" type="audio/ogg" />
</audio>
