1 / 46

HTML tags and attributes

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>

mireya
Download Presentation

HTML tags and attributes

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HTML tags and attributes By: Dennis Champagne

  2. 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>

  3. <!-- --> (comment) • Used to insert a comment into the code

  4. <!DOCTYPE> • Used to indicate if file is using html 5

  5. <a> (anchor) • Used to mark a location in a page. Can be used to link to another page also.

  6. <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

  7. <area> • The <area> tag is used to create a link on a section of an image

  8. <audio> • The <audio> tag is used to insert audio files into a HTML page

  9. <b> • The <b> tag is used to make text bold • Suggested that CSS is used instead

  10. <base> • The <base> tag is used to define the base URL of the document

  11. <big> • The big tag was used to make text larger • Deprecated and removed in HTML 5

  12. <blockquote> • The blockquote tag is used to mark a quote from another cite

  13. <body> • The body tag is used to create the body of the HTML document

  14. <br> • Defines a break in the line

  15. <button> • Used to create a button

  16. <center> • Used to center text • Deprecated and remove as of HTML 5

  17. <code> • Used to mark computer code

  18. <del> • Used to put a strikethrough on text

  19. <div> • Defines a division in an HTML page

  20. <em> • Used to emphasize text

  21. <embed> • Used to embed objects into a HTML document • Similar to <object>

  22. <font> • Used to change font • Deprecated and removed in HTML 5

  23. <form> • Used to create an area for the client to enter text • Should be used with <input> and <button>

  24. <frame> • Added frames to a HTML page • Removed because of the severity of damage usually caused • Went with <frameset> and <noframe>

  25. <frameset> • Was used to define a set of frames • Removed because of severity of damage caused by typical use • Went with <frame> and <noframe>

  26. <h1> - <h6> • Used to make text into a heading • Six different sizes, denoted by the number • Lowest number denotes highest importance

  27. <head> • Used to add a head to the page • The head is used mainly for <script>, <meta>, and <!--comments-->

  28. <hr> • Used to make a horizontal rule • Similar to <br>

  29. <html> • THE essential tag • Denotes a HTML page

  30. <i> • Used to make text itialic

  31. <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

  32. <img> • Used to add an image • Added usage when used with <map> and <area> or with <a>

  33. <ins> • Used to insert text

  34. <li> • Defines a list item • Used inside <ul> or <ol>

  35. <map> • Used to map areas of an image • Used with <area> and <img>

  36. <meta> • Used to store metadata (data about data) • Used inside <head> • Can denote author, description, keywords, and much more

  37. <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>

  38. <noscript> • Used to show text when a browser does not support script • Similar to <noframes> • Used with <script>

  39. <object> • Used to define an embedded object in a HTML page • Similar to <embed> or the removed <applet> • Works with <param>, like <applet> did

  40. <ol> • Used to define an ordered list • Similar to <ul> • Used with <li>

  41. <p> • Used to define a paragraph

  42. <param> • Was used with <applet> before html 5 • Now used with <embed> and <object> • Used to define parameters for an embedded object

  43. <pre> • Was used to define preformated text • Replaced with CSS scripting language • Removed in HTML 5

  44. <q> • Used to define a short quote • Adds quotations around the text inside • For long quotes, use <blockquote>

  45. <s> • Used to put a strikethrough on text • DEPRECATED in HTML 4 • REMOVED in HTML 5 • Use CSS scripting language instead

  46. <samp> • Used to define s

More Related