Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.



Published on

Published in: Education, Technology
  • Be the first to comment

  • Be the first to like this


  2. 2. Lists <ul><li>A list is simply a collection of two or more related items. </li></ul><ul><li>There are three (3) types of lists in HTML: unordered lists, ordered lists, and definition lists . </li></ul>
  3. 3. Unordered List <ul> </ul> <ul><li>The ul element, the name for which is an abbreviation of unordered list, is used to group a collection of items together in a list, but in a way that doesn’t suggest an order of precedence or importance . </li></ul><ul><li>Each list item in the unordered list is in turn defined by its own li element, all contained by the surrounding <ul> and </ul> tags. </li></ul>
  4. 4. EXAMPLE: The shopping list below utilizes ul element (unordered list) with each item living in its own li element. <ul><li><ul type= “ disc ” > </li></ul><ul><li><li>Eggs</li> </li></ul><ul><li><li>Cheese</li> </li></ul><ul><li><li>Milk</li> </li></ul><ul><li><li>Papadums</li> </li></ul><ul><li><li>Tickle-me Elmo</li> </li></ul><ul><li></ul> </li></ul><ul><li>Eggs </li></ul><ul><li>Cheese </li></ul><ul><li>Milk </li></ul><ul><li>Papadums </li></ul><ul><li>Tickle-me Elmo </li></ul>OUTPUT:
  5. 5. Ordered Lists <ol> </ol> <ul><li>The ol element defines an ordered list, one in which the items are meant to be followed in a specific sequence. </li></ul><ul><li>Each list item is defined by li element, which suggests an order of importance or sequence, as ol is an abbreviation of ordered list. </li></ul><ul><li>The <ol> tag attributes: type and start </li></ul><ul><li>type=”{ a | A | i | I | 1 }“ </li></ul><ul><li>start=”number“ </li></ul>
  6. 6. Definition List <dl> </dl> <ul><li>A definition list is not merely a collection of items, but rather a collection of items and description of each. </li></ul><ul><li>A definition list doesn’t contain list item ( li ) elements. Rather, items in a definition list may consist of definition terms ( dt ) and definition description ( dd ). </li></ul>
  7. 7. Nested Lists <ul><li>You can also nest one or more lists inside another list item (see example below). </li></ul><ul> <li>Home</li> <li>About Us <ul type= “circle”> <li>Our History</li> <li>The Team</li> <li>Our Vision</li> </ul> </li> <li>Portfolio</li> <li>Clients</li> <li>Contact</li> </ul> <ul><li>Home </li></ul><ul><li>About Us </li></ul><ul><ul><li>Our History </li></ul></ul><ul><ul><li>The Team </li></ul></ul><ul><ul><li>Our Vision </li></ul></ul><ul><li>Portfolio </li></ul><ul><li>Clients </li></ul><ul><li>Contact Us </li></ul>OUTPUT:
  9. 9. ALL ABOUT HYPERLINK <ul><li>One of the greatest feature of the WWW is its huge collection of documents, which number in millions. </li></ul><ul><li>All of these documents are brought together by the use of HYPERLINKS. </li></ul><ul><li>The user navigates the web by clicking on the links that the web author provides. </li></ul>
  10. 10. HYPERLINKS/LINKS <ul><li>Hyperlinks/links provide a connection between different documents. </li></ul><ul><li>Links are one of the most important features that make the World Wide Web so powerful. Using links, you can point to other documents, graphics, and programs from within your document. </li></ul>
  11. 11. <ul><li>These actions include: </li></ul><ul><ul><li>Moving to another part of the document </li></ul></ul><ul><ul><li>Opening and displaying an image, text, or sound files </li></ul></ul><ul><ul><li>Opening a document from other URL or web sites around the globe within the internet. </li></ul></ul>
  12. 12. The ANCHOR Tag <A>…</A> <ul><li>The use of link is based around a tag: the anchor tag. </li></ul><ul><li>The basic syntax of the anchor tag is as follows: </li></ul><ul><li><a href=”URL”>text link</a> </li></ul><ul><li>You use the anchor element to mark any markup that causes the user’s browser to navigate to a different location when interacted with. The text between <a></a> is presented to the user. When the user clicks on the link, the browser is directed to the document that is specified by the href attribute. </li></ul>
  13. 13. Linking to Other Documents <ul><li>Example: </li></ul><ul><li><a href=””>Search</a> </li></ul><ul><li>This sample uses the <a> tag along the href attribute to provide users the ability to do a search using Google. The href provides the location – in this case, – where the browser should navigate to. </li></ul><ul><li>When you want to link to other documents that are part of your Web site: </li></ul><ul><li><a href=”news.html”>News</a> </li></ul><ul><li>In this case, the browser looks for the document named news.html in the same location of the original document. </li></ul>
  14. 14. Target <ul><li>Is a named location or anchor within a Webpage to which a link can be created. </li></ul><ul><li>Values: _new, _self </li></ul>
  15. 15. _new <ul><li>Is used by the browser to initiate a newly opened window. </li></ul>
  16. 16. _self <ul><li>This target points to the current frame or window, that is, the frame or window that contains the document that is the source for the anchor, <a> </li></ul><ul><li>The target URL will open in the same frame as it was clicked </li></ul>
  17. 17. name <ul><li>This attribute is used to identify a section or fragment of the page </li></ul><ul><li>Link to specific location within the document </li></ul><ul><li><a name=“TOP”></a> </li></ul><ul><li><a href=“#TOP”>return to top of the page</a> </li></ul>
  18. 18. Using Graphics as a Hyperlink <ul><li>Combining the Anchor tag and the Image tag can create a clickable image that acts as a link to other HTML documents </li></ul><ul><li><a href=“Image filename”><img src=“Image filename”/></a> </li></ul>