|
|
HTML Code TutorialTutor Ebook Download ListsThere are 3 different kinds of lists which can be displayed using HTML. They are Unordered, Ordered and Definition lists. Items in a list do not require a closing tag. Unordered Lists
You can Test the list Codes online in this: HTML editor List items in an unordered list are preceded by a bullet. To designate the bullet selection of DISC, SQUARE or CIRCLE older HTML versions use the type attribute. Newer versions of HTML use style sheets to set the bullet style. Ordered Lists
You can Test the list Codes online in this: HTML editor |
Contents Table of ContentsIntroduction Page Structure Basic HTML PageDoctype The Body Tag The Header Tag The Division Tag Horizontal Rule Anchor Tag Anchor Tag - Intradocument Anchor Tag - Image Using Borders The ID Attribute Meta Tags Text Controls Style SheetsWorking With Fonts The Paragraph Tag Paragraphs-Images Using Lists The Pre Tag Line Break Tag Tables Basics of TablesColspan Forms Form BasicsCheck Boxes Text Boxes Selection Boxes Frames Basic FramesTarget and Scrolling Search Engines Miscellaneous Buttons with CSSUsing Color Color Chart Using Images Using Templates Uploading HTML pages. HTML-CSS Quizzes |
|
Older HTML versions: The items of an ordered list are preceded by letters or numbers instead of bullets. The choices are integers as 1,2,3....., letters as upper or lower case A,B,C... a,b,c.... and Roman Numerals upper or lower case as I,II,III... i,ii,iii.... The type attribute determines the type. The start attribute is used to define the starting position in a list. Newer HTML Versions In newer versions of HTML ordered list styles are set using style sheets. Some of the many choices for style or type are: integer, lower-alpha, upper-alpha, lower-roman, upper-roman. Definition ListsThe definition list is handy for displaying a list of terms and their definitions. The definition
An easy way to remember which tag goes where: Nesting ListsDifferent types of lists can be nested or placed within each other to create sophisticated hierarchical structures.
Tricks With ListsLists can be used to create menus or text site maps for your website. You could use a list of simple headings and hyperlinks and set them in a structure similar to one of those shown above. Or you could use a combination of hyperlinks and images. Table of Contents: The Style Sheets: The code: Hover PropertyIE7 and Mozilla browsers accept the CSS hover property for list items. This allows you to create some interesting effects when building menus and navigational links.
![]() Best when placed on background color #0060ff Note: If the list item hover property doesn't work in your IE7 browser try changing the Doctype at the top of your web page to: You can Test the simple list Codes online in this: HTML editor
Check out our Free Frames Template Kit or try our Free Frames Kit Demo |
|
|