Computer Science, asked by chitrabi, 4 days ago

write a html
To display the following list items in both Ordered list and Unordered list.
Past tense, Present tense and Future tense.

Answers

Answered by Anonymous
6

HTML stands for HyperText Markup Language. It is used for the creation of webpages. It is a Markup Language and not a Programming language. HTML describes the structure of a website. HTML elements are also known as tags. HTML tells the browsers how to display the content.

Ordered Lists in HTML can be created with <ol> tag. Unordered Lists in HTML can be created with the <ul> tag.

Ordered Lists HTML Co‎de:

<!DOCTYPE html>

<html>

   <head>

       <title>Brainly</title>

   </head>

   <body>

       <ol>

       <li>Past tense</li>

       <li>Present tense</li>

       <li>Future tense</li>

       </ol>

   </body>

</html>

The above co‎de has been written in the <body> section of the HTML document.

Unordered Lists HTML Co‎de:

<!DOCTYPE html>

<html>

   <head>

       <title>Brainly</title>

   </head>

   <body>

      <ul>

       <li>Past tense</li>

       <li>Present tense</li>

       <li>Future tense</li>

       </ul>

   </body>

</html>

The above co‎de has been written in the <body> section of the HTML document.

⠀⠀

The <ul> tag can take the attribute known as type, which specifies what kind of bullets do we want in the unordered list. 

We can specify:

<ul type = "square">

Or,

<ul type = "disc">

Or,

<ul type = "circle">

The default is the disc one.

Similar questions