write html code to display name of your four friends in ordered lists
Answers
Answered by
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
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
English,
5 months ago
Social Sciences,
5 months ago
English,
11 months ago
Science,
11 months ago
Economy,
1 year ago