Saturday, 8 November 2014

HTML Image, Hyperlink, Table

HTML Images

The <img> tag and Src Attribute

  • images are defined with the <img> tag
  • <img> tag is empty, which means that it contains attributes only, and has no closing tag
  • Src stands for "source" which contains the URL of the image you want to display.
  • example: <img src="banana.jpg" alt="batag">
  • example: <img src="balangay.jpg" alt="boat" width="300" height="400">



HTML Table
  • tables are define with the <table> tag
  • divided with rows (with the <tr> tag)
  • each row is divided into data cells (with the <td> tag)
  • <td> tag can contain texts, links, images, lists, forms, other tables, etc.
  • Header information in a table are defined with <th> tag



HTML Hyperlinks (Links)
  • <a> tag defines a hyperlink
  • hyperlink (or link) is a word, group of words, or image  that you can click on to jump to another document
  • href document indicates the link's destination
  • example: <a href="http://www.anime-realm.com/">Watch Anime here<a/>




Information: (c) Another Sir Tom's Presentation
Images: (c) Google Images

No comments:

Post a Comment