Skip to main content

lists

 HTML Provides Three Types of Lists .


  • Ordered List - Ordered list are lists where each item in the list is numbered.
  • Unordered List - Unordered lists that begin with a bullet point.
  • Definition List - Definition Lists are made up a set of terms along with the definition for each of those terms. 



Ordered Lists

<ol>

The Ordered list is created with <ol> element.

<li>

each item in the list is palaced between opening <li> tag and closing </li> tag. <li> stands for list items.
Browsers indent lists by default.



Unordered List

<ul>

The Unordered list is created with <ul> element.

<li>

each item in the list is palaced between opening <li> tag and closing </li> tag. <li> stands for list items.
Browsers indent lists by default.

Definition list

<dl>

The definition list is created with <dl> element. inside <dl> element we use <dt> and <dd> elements.

<dt>

This is used to contain the term being defined (the definition term)

<dd>

This is used to contain the defination.



Nested Lists

You can put a second list inside an <li> element to create a sub- list or nested list.



I Hope you like this

Comments

Popular posts from this blog

summary For Structure

Summary HTML pages are text documents. HTML uses tags (characters that sit inside angled brackets) to give the information they surround special meaning. Tags are often referred to as elements. Tags usually come in pairs. The opening tag denotes the start of a piece of content; the closing tag denotes the end. Opening tags can carry attributes, which tell us more about the content of that element. Attributes require a name and a value. To learn HTML you need to know what tags are available for you to use, what they do, and where they can go. For more blogs related to technology you can visit Relatetechno.codes

HOW PEOPLE ACCESS THE WEB

" THE MAIN FACTORS THAT ARE IMPORTANT IN ACCESS THE WEB 1. BROWSER In order to view a web page, users might type a web address into their browser. 2. WEB SERVERS When we requested a web page, the request sent to a computer known as the webserver which hosts the website. 3. DEVICE It is important to remember that various devices have different screen sizes and some have faster connections to the web than others. 4. SCREEN READERS Screen readers are the program that read out the content of a computer screen to a user. They are commonly used by people with visual impairment. Thanks for visiting my blog. I will try to post regularly. For more blogs related to technology you can visit Relatetechno.codes

HEADINGS AND PARAGRAPHS

HEADINGS: <h1> <h2> <h3> <h4> <h5> <h6> There are six levels of headings. <h1> is used for main headings <h2> is used for subheadings If there are further sections under the subheadings then the <h3> element is used, and so on... Browsers display the contents of headings at different sizes. The contents of an <h1> element are the largest, and the contents of an <h6> element are the smallest. The exact size at which each the browser shows the headings can vary slightly. Users can adjust the size of the text by using CSS. HEADING LEVELS PARAGRAPHS: To create a paragraph, surround the words that make up the paragraph with an opening <p> tag and closing </p> tag. By default, a browser will show each paragraph on a new line with some space between it and any subsequent paragraphs. paragraph next> Bold & italic and scripts(sub&super) Enjoy  😀 For more blogs related to technology you can visit Rela...