HTML legend Tag

November 11th, 2010 by aBisona 
HTML <legend> Tag Example Group related elements in a form: <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> Try...

HTML label Tag

November 11th, 2010 by aBisona 
Example An simple HTML form with two input fields and related labels : <form> <label for=”male”>Male</label> <input type=”radio” name=”sex” id=”male” /> <br /> <label for=”female”>Female</label> <input type=”radio” name=”sex” id=”female” /> </form> Try...

HTML em strong dfn code samp kbd var cite Tags

November 11th, 2010 by aBisona 
Example Format text in a document: <em>Emphasized text</em> <strong>Strong text</strong> <dfn>Definition term</dfn> <code>Computer code text</code> <samp>Sample computer code text</samp> <kbd>Keyboard text</kbd> <var>Variable</var> <cite>Citation</cite> Try it yourself » Definition and Usage The <em>,...

HTML ins Tag

November 11th, 2010 by aBisona 
Example A text with a deleted part and a new inserted part: <p>My favorite color is <del>blue</del> <ins>red</ins>!</p> Try it yourself » Definition and Usage The <ins> tag defines text that has been inserted into a document.

HTML input Tag

November 11th, 2010 by aBisona 
Example A simple HTML form with two input fields and one submit button: <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”...

HTML img Tag

November 11th, 2010 by aBisona 
Example An image is marked up as follows: <img src=”angry.gif” alt=”Angry face” /> Try it yourself » (more examples at the bottom of this page) Definition and Usage The <img> tag embeds an image in an HTML page. Notice that images are not technically inserted into an HTML page, images are linked to HTML pages. The <img> tag creates a holding space for the...

HTML iframe Tag

November 11th, 2010 by aBisona 

HTML tt i b big small Tags

November 11th, 2010 by aBisona 

HTML html Tag

November 11th, 2010 by aBisona 
Example A simple HTML document, with the minimum of required tags: <html> <head> <title>Title of the document</title> </head> <body> The content of the document…… </body> </html> Try it yourself » Definition and Usage The <html> tag tells the browser that this is an HTML document. The html element is the outermost element in HTML...

HTML hr Tag

November 11th, 2010 by aBisona 

HTML h1 to h6 Tags

November 11th, 2010 by aBisona 
Example The six different HTML headings: <h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> <h4>This is heading 4</h4> <h5>This is heading 5</h5> <h6>This is heading 6</h6> Try it yourself » Definition and Usage The <h1> to <h6> tags are used to define HTML headings. <h1> defines...

HTML head Tag

November 10th, 2010 by aBisona 
Example A simple HTML document, with the minimum of required tags: <html> <head> <title>Title of the document</title> </head> <body> The content of the document…… </body> </html> Try it yourself » (more examples at the bottom of this page) Definition and Usage The head element is a container for all the head elements. Elements inside <head>...