HTML Tags Chart

HTML Tags Chart

HTML Tags Chart To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page. Tag Name Code Example Browser View <!--This can be viewed in the HTML part of a <!-- comment Nothing will show (Tip) document--> <a href="http://www.domain.com/"> <a - anchor Visit Our Site (Tip) Visit Our Site</a> <b> bold <b>Example</b> Example <big> big (text) <big>Example</big> Example (Tip) body of HTML <body>The content of Contents of your web <body> documen your HTML page</body> page (Tip) t The contents of your web line The contents of your page<br>The contents page <br> break of your page The contents of your web page <center>This will center your This will center your <center> center contents</center> contents <dl> Definition Term <dt>Definition Term</dt> Definition of the definition <dd>Definition of the term</dd> term <dd> descripti <dt>Definition Term</dt> Definition Term on <dd>Definition of the term</dd> Definition of the </dl> term <dl> Definition Term <dt>Definition Term</dt> Definition of the definition <dd>Definition of the term</dd> term <dl> list <dt>Definition Term</dt> Definition Term <dd>Definition of the term</dd> Definition of the </dl> term <dl> Definition Term <dt>Definition Term</dt> Definition of the definition <dd>Definition of the term</dd> term <dt> term <dt>Definition Term</dt> Definition Term <dd>Definition of the term</dd> Definition of the </dl> term This is an <em>Example</em> of using This is an Example of using <em> emphasis the emphasis tag the emphasis tag embed <embed src="yourfile.mid" width="100%" <embed> object height="60" align="center"> (Tip) <embed src="yourfile.mid" autostart="true" Music will begin playing embed hidden="false" loop="false"> when your page is loaded <embed> object <noembed><bgsound src="yourfile.mid" and will only play one time. loop="1"></noembed> A control panel will be displayed to enable your visitors to stop the music. <font face="Times New <font> font Example (Tip) Roman">Example</font> <font face="Times New Roman" <font> font (Tip) size="4">Example</font> Example <font face="Times New Roman" size="+3" <font> font color="#ff0000">Example</font> Example (Tip) <form action="mailto:[email protected] "> Name: (Tip) Name: <input name="Name" value="" size="10"><br> <form> form Email: Email: <input name="Email" value="" size="10"><br> Submit <center><input type="submit"></center> </form> <h1> heading 1 <h1>Heading 1 Example</h1> <h2> heading 2 <h2>Heading 2 Example</h2> <h3> heading 3 <h3>Heading 3 Example</h3> <h4> heading 4 <h4>Heading 4 Example</h4> <h5> heading 5 <h5>Heading 5 Example</h5> <h6> heading 6 <h6>Heading 6 Example</h6> heading of HTML <head>Contains elements describing the <head> Nothing will show documen document</head> t Contents of your web horizonta <hr> <hr /> page (Tip) l rule Contents of your web page Contents of your web page horizonta <hr> <hr width="50%" size="3" /> l rule Contents of your web page Contents of your web page horizonta <hr> <hr width="50%" size="3" noshade /> l rule Contents of your web page <hr> Contents of your web page horizonta <hr width="75%" color="#ff0000" size="4" (Internet l rule /> Explorer) Contents of your web page <hr> Contents of your web page horizonta <hr width="25%" color="#6699ff" size="6" (Internet l rule /> Explorer) Contents of your web page <html> <head> <meta> hypertext <title>Title of your web page</title> <html> markup Contents of your web page </head> language <body>HTML web page contents </body> </html> <i> italic <i>Example</i> Example <img src="Earth.gif" width="41" <img> image height="41" border="0" alt="text describing the image" /> (Tip) Example 1: Example 1: (Tip) <form method=post action="/cgi- input bin/example.cgi"> <input> field <input type="text" size="10" Submit maxlength="30"> <input type="Submit" value="Submit"> </form> Example 2: <form method=post action="/cgi- Example 2: (Tip) bin/example.cgi"> <input> input <input type="text" style="color: #ffffff; (Internet field font-family: Verdana; font-weight: bold; font- Submit Explorer) size: 12px; background-color: #72a4d2;" size="10" maxlength="30"> <input type="Submit" value="Submit"> </form> Example 3: <form method=post action="/cgi- bin/example.cgi"> Example 3: (Tip) <table border="0" cellspacing="0" input cellpadding="2"><tr><td <input> field bgcolor="#8463ff"><input type="text" size="10" maxlength="30"></td><td bgcolor="#8463ff" valign="Middle"> <input type="image" name="submit" src="yourimage.gif"></td></tr> </table> </form> Example 4: Example 4: (Tip) <form method=post action="/cgi- bin/example.cgi"> Enter Your Comments:<br> input <input> <textarea wrap="virtual" name="Comments" field rows=3 cols=20 maxlength=100></textarea><br> <input type="Submit" value="Submit"> Submit Clear <input type="Reset" value="Clear"> </form> Example 5: <form method=post action="/cgi- bin/example.cgi"> <center> Example 5: Tip) Select an option: <select> Select an <option >option 1</option> input option 2 <input> <option selected>option 2</option> option: field <option>option 3</option> Submit <option>option 4</option> <option>option 5</option> <option>option 6</option> </select><br> <input type="Submit" value="Submit"></center> </form> input Example 6: Example 6: (Tip) <input> field <form method=post action="/cgi- Select an option: bin/example.cgi"> Select an option:<br> Option 1 <input type="radio" name="option"> Option 1 Option 2 <input type="radio" name="option" Option 3 checked> Option 2 <input type="radio" name="option"> Option Select an option: 3 <br> Selection 1 <br> Select an option:<br> Selection 2 <input type="checkbox" name="selection"> Selection 1 Selection 3 <input type="checkbox" name="selection" Submit checked> Selection 2 <input type="checkbox" name="selection"> Selection 3 <input type="Submit" value="Submit"> </form> Example 1: Example 1: (Tip) <menu> <li type="disc">List item 1</li> List item 1 <li type="circle">List item 2</li> o List item 2 <li type="square">List item 3</li> . List item 3 </MENU> <li> list item Example 2: Example 2: <ol type="i"> i. List item 1 <li>List item 1</li> ii. List item 2 <li>List item 2</li> iii. List item 3 <li>List item 3</li> iv. List item 4 <li>List item 4</li> </ol> <head> <link rel="stylesheet" type="text/css" <link> link href="style.css" /> </head> <marquee <marquee bgcolor="#cccccc" loop="-1" > scrolling scrollamount="2" width="100%">Example (Internet text Marquee</marquee> Explorer) (Tip) <menu> List item 1 <li type="disc">List item 1</li> o List item 2 <menu> menu <li type="circle">List item 2</li> . List item 3 <li type="square">List item 3</li> </menu> <meta name="Description" content="Description of your site"> <meta> meta Nothing will show (Tip) <meta name="keywords" content="keywords describing your site"> <meta HTTP-EQUIV="Refresh" <meta> meta CONTENT="4;URL=http://www.yourdomain.c Nothing will show (Tip) om/"> <meta http-equiv="Pragma" content="no- <meta> meta Nothing will show (Tip) cache"> <meta> meta <meta name="rating" content="General"> Nothing will show (Tip) <meta> meta <meta name="robots" content="all"> Nothing will show (Tip) <meta name="robots" <meta> meta Nothing will show (Tip) content="noindex,follow"> Numbered Numbered <ol> 1. List item 1 <li>List item 1</li> 2. List item 2 <li>List item 2</li> 3. List item 3 <li>List item 3</li> 4. List item 4 <li>List item 4</li> </ol> Numbered Special Start Numbered Special Start 5. List item 1 <ol start="5"> 6. List item 2 <li>List item 1</li> 7. List item 3 <li>List item 2</li> 8. List item 4 <li>List item 3</li> <li>List item 4</li> Lowercase Letters </ol> a. List item 1 Lowercase Letters b. List item 2 c. List item 3 <ol type="a"> d. List item 4 <li>List item 1</li> <li>List item 2</li> Capital Letters <li>List item 3</li> <li>List item 4</li> </ol> A. List item 1 B. List item 2 ordered <ol> Capital Letters C. List item 3 list D. List item 4 <ol type="A"> <li>List item 1</li> Capital Letters Special <li>List item 2</li> Start <li>List item 3</li> <li>List item 4</li> C. List item 1 </ol> D. List item 2 E. List item 3 Capital Letters Special Start F. List item 4 <ol type="A" start="3"> Lowercase Roman <li>List item 1</li> Numerals <li>List item 2</li> <li>List item 3</li> i. List item 1 <li>List item 4</li> ii. List item 2 </ol> iii. List item 3 iv. List item 4 Lowercase Roman Numerals Capital Roman Numerals <ol type="i"> <li>List item 1</li> I. List item 1 <li>List item 2</li> II. List item 2 <li>List item 3</li> III. List item 3 <li>List item 4</li> IV. List item 4 </ol> Capital Roman Numerals Capital Roman Numerals Special Start <ol type="I"> <li>List item 1</li> VII. List item 1 <li>List item 2</li> VIII. List item 2 <li>List item 3</li> IX. List item 3 <li>List item 4</li> X. List item 4 </ol> Capital Roman Numerals Special Start <ol type="I" start="7"> <li>List item 1</li> <li>List item 2</li> <li>List item 3</li> <li>List item 4</li> </ol> <form method=post action="/cgi- bin/example.cgi"> <center> Select an option: <select> <option>option 1</option> Select an option: (Tip) listbox <option selected>option 2</option> <option> option 2 option <option>option 3</option> <option>option 4</option> <option>option 5</option> <option>option 6</option> </select><br> </center> </form> This is an example This is an example displaying the use of the displaying the use of the paragraph tag.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us