Basic Types of list in Html

SHARE:

HTML List is most like elements and tags in HTML, the list is more important for a making drop-down the menu in websites or like List about categories, and as like some menu.

The basic thing that means it's used for menu and categories in HTML you can read my articles
HTML basic elements and tags,
HTML Formatting Tags in HTML.


What is List in Html?

Lists are used to group related pieces of information together, so they are clearly associated with
each other and easy to read. In the modern web, development lists are workhorse elements, frequently
used for navigation as well as general content.


Types of list in html



Types of the list in Html


HTML gives you three different types of lists.

1. <ul> - An unordered list. This will list items using bullets.

2. <ol> - A ordered list. This will use different schemes of numbers to list your items.

3. <dl> - A definition list. This will arrange your items in the same way as they are arranged in a dictionary.

1.HTML Unordered Lists:(UL)

An unordered list is a collection of related items that have no special order or sequence. This list is created by using the <ul> tag.

Each item in the list is marked with a bullet.

The bullet itself comes in three flavors:
  1. squares,
  2. discs, 
  3.  circles.
The default bullet displayed by most web browsers is the traditional full disc.

types-of-ul-list-html




Example:

<ul type= “disc” >
<li>Item1</li>
<li>Item2</li>
<li>Item3</li>
<li>Item4</li>
</ul>

UL-type-HTML

2.HTML Ordered Lists:(OL)

There are 4 other types of ordered lists in Html. 


Instead of generic numbers, you can replace them with Roman numerals or letters, both capital and lower-case. Use the type attribute to change the numbering.

Start attribute is used for the starting number as desired.

Example:

  <ol type= “a” start="50" >
<li>Item1</li>
<li>Item2</li>
<li>Item3</li>
<li>Item4</li>
</ol>


types-of-Order-list


3.Definition Term Lists (DL)

Make definition lists as seen in dictionaries using the <dl> tag. 
These lists displace the term word just above the definition itself for a unique look.
It's wise to bold the terms to displace them further.

<dl> - defines the start of the list
<dt> - definition term
<dd> - defining definition

Example:

<dl>
<dt>
<b>Html</b>
</dt>
<dd>HyperText Mark Up Language</dd>
<dt>
<b>Xhtml</b>
</dt>
<dd>Xtensibile HyperText Mark Up Language </dd>
</dl>





Output:
Html
HyperText Markup Language.

XHTML
Extensible HyperText Mark Up Language.


Comments In HTML

A comment is a way for you as the web page developer to control what lines of code are to be ignored by the web browser.


Placing notes and reminders to yourself is a great way to remind yourself what pieces of code are doing what.

Syntax for commenting

<!--
Code Successfully Commented
-->

COMMENTS

Name

Blogging,15,C Language,3,How to,26,Make Money,11,SEO,27,Web Development,24,
ltr
item
Weblog Tricks - Helping You Succeed To Become an entrepreneur: Basic Types of list in Html
Basic Types of list in Html
Types of list in Html where describe all types of Html list like unordered list html, ordered list html and html numbered list basic html tags
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJR1LtaPHjYkgmdk8Vi0n-3miqVKZglLne1N4WI0-qq7x7UyYrE584QLC4xyoy8ffgHxBa4Osf6TUn9o7gceN0eC6lXmWJybH1y-D31AIwa7S7YTxi_Ba3MkK1KQicaolTFwzo1FgCcpzx/s640/Presentation3.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJR1LtaPHjYkgmdk8Vi0n-3miqVKZglLne1N4WI0-qq7x7UyYrE584QLC4xyoy8ffgHxBa4Osf6TUn9o7gceN0eC6lXmWJybH1y-D31AIwa7S7YTxi_Ba3MkK1KQicaolTFwzo1FgCcpzx/s72-c/Presentation3.jpg
Weblog Tricks - Helping You Succeed To Become an entrepreneur
https://weblogtrickss.blogspot.com/2016/12/list-in-html.html
https://weblogtrickss.blogspot.com/
https://weblogtrickss.blogspot.com/
https://weblogtrickss.blogspot.com/2016/12/list-in-html.html
true
3158682668530211189
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy