Computer Science, asked by KumarDhruv2003, 1 year ago

What is the use of <UL>, <OL>, <LI>, <P> and <BR> tags?​

Answers

Answered by tejasgupta
8

The UL and OL tags in HTML are used to start an unordered list and ordered list respectively.

Example of an unordered list:

  • List item
  • List iem
  • List item

Example of an ordered list:

  1. List item 1
  2. List item 2
  3. List item 3

The LI tag is used to declare a list item.

For example, to write List item 1 inside a list, we can write &lt; li &gt; List item 1.

When we need to write a block of text, the P (paragraph) tag is used.

To start text from a new line, the BR tag is used.

Hope this helps!

Answered by riyana5
4

HEY DEAR!!

HERE IS YOUR ANSWER....

<UL> tag is used to create unordered list in HTML document.

<OL> tag is used to create ordered list.

<LI> tag is used to display list.

<P> is a block element used to designate a paragraph.

<br> element is used to insert a line break or carriage-return within a parent element such as a paragraph without breaking out of the parent container.

#hope it helps......^_^


attarhuzaif88: Sweet dream
attarhuzaif88: take care
attarhuzaif88: hii
attarhuzaif88: hki
attarhuzaif88: hli
attarhuzaif88: h r u
attarhuzaif88: ok
Similar questions