Computer Science, asked by palaky376, 11 months ago

write html code to display name of your four friends in ordered lists

Answers

Answered by kirandeep9400
12

Answer:

<!DOCTYPE html>

<html>

<body>

<h2>My Friends</h2>

<ol>

 <li>RAM</li>

 <li>SAM</li>

 <li>TAM</li>

 <li>LAM</li>

</ol>

</body>

</html>

Explanation:

An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.

Answered by adventureisland
4

Answer:

<html>

  <head>

     <title>World Cup Teams</title>

  </head>

  <body>

     <h1>List of teams for World Cup</h1>

     <ol type = "1">

        <li>Name of friend 1</li>

        <li>Name of friend 2</li>

        <li>Name of friend 3</li>

        <li>Name of friend 4</li>

     </ol>

  </body>

</html>

HTML:

  • HTML tags are similar to keywords in that they specify how a web browser will format and display text.
  • A web browser can tell the difference between HTML and plain content thanks to tags.
  • The opening tag, the content tag, and the closing tag are the three primary sections of an HTML tag. Some HTML tags, however, are not closing tags.

Similar questions