Computer Science, asked by bansalsanjay65080, 2 months ago

Write True' or 'False' against each statemen
1.
An unordered list starts with <UL>​

Answers

Answered by anindyaadhikari13
1

Answer:

  • An unordered list starts with <ul> - True.

Explanation:

  • To create unordered list, <ul> tag is used.

  • An unordered list starts with <ul> tag and ends with </ul> tag.

  • As it has closing tag, it is also called container tag.

  • In unordered list, every list item starts with <li> tag.

  • <li> stands for list item.

Learn More:

There are three types of lists in HTML - Ordered List, Unordered List and Definition List.

1. Ordered list are the list where each items are numbered.

For example, List of fruits,

  1. Apple.
  2. Mango.
  3. Guava.

The above list is called ordered list.

General Syntax:

<ol>

<li> Item 1.

<li> Item 2.

<li> Item 3.

. . . .

</ol>

Note: <li> tag is an empty tag. It doesn't require any closing tag.

2. Unordered list are the list where list items are represented by bullets.

Example,

Fruits to buy:

  • Apple
  • Grapes
  • Banana

etc.

The above list is an unordered list.

General Syntax:

<ul>

<li> Item 1.

<li> Item 2.

<li> Item 3.

. . .

</ul>

3. Definition Lists.

The definition list is created with <dl> tag/element.

It is used to define a series of terms and their description.

Example, Types of rocks,

Igneous Rocks

Igneous rocks are the rocks formed due to cooling, solidification and crystallization of hot molten material of the earth.

Sedimentary Rocks.

Sedimentary rocks are the secondary rocks formed by the solidification of sediments of original igneous, sedimentary or metamorphic parent rocks.

The above list an example of definition list.

General Syntax:

<dl>

<dd>Item 1.</dd>

<dt>Description of Item 1.</dt>

<dd>Item 2.</dd>

<dt>Description of Item 2.</dt>

</dl>

The <dl> tag is used to create definition list.

<dd> tag contains the term to be defined.

<dt> tag contains the definition of the term.

Similar questions