HTML <button> Tag

November 10th, 2010 by aBisona 
Example A button is marked up as follows: <button type=”button”>Click Me!</button> Try it yourself » Definition and Usage The <button> tag defines a push button. Inside a button element you can put content, like text or images. This is the difference between this element and buttons created with the input element. Always specify the type attribute for the button....

HTML <br> Tag

November 10th, 2010 by aBisona 
Example A line break is marked up as follows: This text contains<br />a line break. Try it yourself » Definition and Usage The <br> tag inserts a single line break. The <br> tag is an empty tag which means that it has no end tag.

HTML 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 » Definition and Usage The body element defines the document’s body. The body element contains all the contents of an HTML document, such...

HTML <blockquote> Tag

November 10th, 2010 by aBisona 
Example A long quotation is marked up as follows: <blockquote> Here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation here is a long quotation. </blockquote> Try it yourself » Definition and Usage The <blockquote> tag defines...

HTML <tt>, <i>, <b>, <big>, and <small> Tags

November 10th, 2010 by aBisona 
Example Format text in a document: <tt>Teletype text</tt> <i>Italic text</i> <b>Bold text</b> <big>Big text</big> <small>Small text</small> Try it yourself » Definition and Usage The <tt>, <i>, <b>, <big>, and <small> tags are all font-style tags. They are not deprecated, but it is possible to achieve richer...

HTML Tag

November 10th, 2010 by aBisona 
Example Specify the text direction: <bdo dir=”rtl”>Here is some Hebrew text!</bdo> Definition and Usage bdo stand for bidirectional override. The <bdo> tag allows you to specify the text direction and override the bidirectional algorithm.

HTML Tag

November 10th, 2010 by aBisona 
The basefont element is deprecated. Example Specify a default font-color and font-size for text on page: <head> <basefont color=”red” size=”5″ /> </head> <body> <h1>This is a header</h1> <p>This is a paragraph</p> </body>

HTML Tag

November 10th, 2010 by aBisona 
Example Specify a default URL and a default target for all links on a page: <head> <base href=”http://www.w3schools.com/images/” /> <base target=”_blank” /> </head> <body> <img src=”stickman.gif” /> <a href=”http://www.w3schools.com”>W3Schools</a> </body>

HTML Tag

November 10th, 2010 by aBisona 
Example Format text in a document: <tt>Teletype text</tt> <i>Italic text</i> <b>Bold text</b> <big>Big text</big> <small>Small text</small>

HTML Tag

November 10th, 2010 by aBisona 
Example An image-map, with clickable areas: <img src =”planets.gif” width=”145″ height=”126″ alt=”Planets” usemap =”#planetmap” /> <map name=”planetmap”> <area shape=”rect” coords=”0,0,82,126″ href=”sun.htm” alt=”Sun” /> <area shape=”circle”...

November 10th, 2010 by aBisona 
The applet element is deprecated. Example An embedded Java applet: <applet code=”Bubbles.class” width=”350″ height=”350″> Java applet that draws animated bubbles. </applet>

HTML Tag

November 10th, 2010 by aBisona 
Example Contact information for W3Schools.com: <address> Written by W3Schools.com<br /> <a href=”mailto:us@example.org”>Email us</a><br /> Address: Box 564, Disneyland<br /> Phone: +12 34 56 78 </address>