1 / 14

Lists

Lists. Introduction. HTML provides several styles for building lists. The list elements can be arranged using numbers or bullets. This improves readability to a certain extent while organizing list elements. Types. Lists is of three types Ordered List Unordered List Definition List.

kioko
Download Presentation

Lists

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

  2. Introduction HTML provides several styles for building lists. The list elements can be arranged using numbers or bullets. This improves readability to a certain extent while organizing list elements.

  3. Types Lists is of three types • Ordered List • Unordered List • Definition List

  4. Ordered List An ordered list is one that is numbered and may also be used to indicate sequential form of information . For example • Maths • English • Hindi

  5. Tags of Ordered Lists • <OL>:- An ordered list is one that is numbered and may also be used to indicate sequential form of information. Its paired tags. Attributes of OL is “type". Its value can be 1,a,A,I,i.By default it can be “1”. Start attributes is used to override default list numbering e.G <OL START=“5”> • <LI>:-This tag is singular tag. LI stand for List Item.LI tag used for denoting data for elements

  6. Example Source in Notepad:- • <html> • <head> • <title>Ordered List</title></head> • <body> • Software Testing Methods • <ol type=“1”> • <li> Black Box Testing • <li> White Box Testing • <li> Control Structure Testing • </ol> • </body> • </html>

  7. Output Software Testing Methods • Black Box Testing • White Box Testing • Control Structure Testing

  8. Unordered Lists Unordered Lists are used to represent a set of items that have a relation among themselves but do not follow a specific order. For example • English • Math • Hindi

  9. Tags of Unordered Lists • <UL>:- Its paired tag. UL used describe unordered list Attributes of UL is “type". Its value can be circle, disc, square . <LI>:-This tag is singular tag. LI stand for List Item.LI tag used for denoting data for elements

  10. Example Source in Notepad:- • <html> • <head> • <title>Unordered List</title></head> • <body> • Software Testing Methods • <ul type=“disc”> • <li> Black Box Testing • <li> White Box Testing • <li> Control Structure Testing • </ul> • </body> • </html>

  11. Output Software Testing Methods • Black Box Testing • White Box Testing • Control Structure Testing

  12. Definition List A definition list is a list of terms paired with associated definition-in other word ,a glossary. Definition list is used to provide two levels of information. • The Term • Definition

  13. Tags of Definition Lists <DL>:-It’s paired tag. It’s beginning tag is used start definition list. <DT>:-It’s singular tag. This tag is used define term which we want to define. <DD> :- It’s singular tag. This tag is used to give the definition of the term.

  14. Example Source in Notepad:- • <html> • <head> • <title>Definition Lists</title></head> • <body> • Glossary • <dl> • <dt>

More Related