890 likes | 2.18k Views
HTML tags and attributes. By: Dennis Champagne. List of tags. <!-- --> <!DOCTYPE> <a> <applet> <area> <audio> <b> <base> <big> < blockquote > <body> < br > < button> <center> <code> <del> <div > < em >. < embed> <font> <form> <frame> <frameset> <h1> <h2> <h3> <h4>
E N D
HTML tags and attributes By: Dennis Champagne
List of tags • <!-- --> • <!DOCTYPE> • <a> • <applet> • <area> • <audio> • <b> • <base> • <big> • <blockquote> • <body> • <br> • <button> • <center> • <code> • <del> • <div> • <em> • <embed> • <font> • <form> • <frame> • <frameset> • <h1> • <h2> • <h3> • <h4> • <h5> • <h6> • <head> • <hr> • <html> • <i> • <iframe> • <img> • <ins> • <li> • <map> • <meta> • <noframes> • <noscript> • <object> • <ol> • <p> • <param> • <pre> • <q> • <s> • <samp> • <script> • <small> • <video> • <title> • <span> • <strike> • <strong> • <style> • <sub> • <sup> • <table> • <tbody> • <tfoot> • <td> • <thead> • <th> • <tr> • <u> • <var> • <wbr>
<!-- --> (comment) • Used to insert a comment into the code
<!DOCTYPE> • Used to indicate if file is using html 5
<a> (anchor) • Used to mark a location in a page. Can be used to link to another page also.
<applet> • DEPRECATED • Used to insert java applets into a webpage • Similar to <embed> and <object> • Used with <param> • Replaced by <object> and <embed> in HTML 5
<area> • The <area> tag is used to create a link on a section of an image
<audio> • The <audio> tag is used to insert audio files into a HTML page
<b> • The <b> tag is used to make text bold • Suggested that CSS is used instead
<base> • The <base> tag is used to define the base URL of the document
<big> • The big tag was used to make text larger • Deprecated and removed in HTML 5
<blockquote> • The blockquote tag is used to mark a quote from another cite
<body> • The body tag is used to create the body of the HTML document
<br> • Defines a break in the line
<button> • Used to create a button
<center> • Used to center text • Deprecated and remove as of HTML 5
<code> • Used to mark computer code
<del> • Used to put a strikethrough on text
<div> • Defines a division in an HTML page
<em> • Used to emphasize text
<embed> • Used to embed objects into a HTML document • Similar to <object>
<font> • Used to change font • Deprecated and removed in HTML 5
<form> • Used to create an area for the client to enter text • Should be used with <input> and <button>
<frame> • Added frames to a HTML page • Removed because of the severity of damage usually caused • Went with <frameset> and <noframe>
<frameset> • Was used to define a set of frames • Removed because of severity of damage caused by typical use • Went with <frame> and <noframe>
<h1> - <h6> • Used to make text into a heading • Six different sizes, denoted by the number • Lowest number denotes highest importance
<head> • Used to add a head to the page • The head is used mainly for <script>, <meta>, and <!--comments-->
<hr> • Used to make a horizontal rule • Similar to <br>
<html> • THE essential tag • Denotes a HTML page
<i> • Used to make text itialic
<iframe> • Used to add an inline frame • Easier to use than frames • Unlike frames, was NOT removed in html 5 • Can display a different webpage inside
<img> • Used to add an image • Added usage when used with <map> and <area> or with <a>
<ins> • Used to insert text
<li> • Defines a list item • Used inside <ul> or <ol>
<map> • Used to map areas of an image • Used with <area> and <img>
<meta> • Used to store metadata (data about data) • Used inside <head> • Can denote author, description, keywords, and much more
<noframes> • Was used to show text when a browser did not support frames • Was used with <frame> <frameset> • Removed in HTML 5 • Similar to <noscript>
<noscript> • Used to show text when a browser does not support script • Similar to <noframes> • Used with <script>
<object> • Used to define an embedded object in a HTML page • Similar to <embed> or the removed <applet> • Works with <param>, like <applet> did
<ol> • Used to define an ordered list • Similar to <ul> • Used with <li>
<p> • Used to define a paragraph
<param> • Was used with <applet> before html 5 • Now used with <embed> and <object> • Used to define parameters for an embedded object
<pre> • Was used to define preformated text • Replaced with CSS scripting language • Removed in HTML 5
<q> • Used to define a short quote • Adds quotations around the text inside • For long quotes, use <blockquote>
<s> • Used to put a strikethrough on text • DEPRECATED in HTML 4 • REMOVED in HTML 5 • Use CSS scripting language instead
<samp> • Used to define s