Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

list exercises directions: create an html file called lastname - firstn…

Question

list exercises
directions: create an html file called lastname - firstname - lists.html. create a webpage that shows everything all together on 1 page.
all headers are the same size. all text is the same size
list #1

  1. apple
  2. banana
  3. carrot

list #2

  • playstation
  • xbox 360
  • wii
  • psp
  • gameboy

list #3

  1. coca cola
  2. coke zero
  3. diet coke
  4. coke
  5. sprite
  6. sprite zero
  7. pepsi cola
  8. pepsi
  9. diet pepsi
  10. mountain dew

Explanation:

Brief Explanations

This is an HTML - related task. HTML (Hyper - Text Markup Language) is used to create web pages. For List #1, we use the <ol> (ordered list) tag. For List #2, we use the <ul> (unordered list) tag. For List #3, which is a nested list, we use nested <ol> tags. We also need to set the same size for headers and text. We can use CSS (Cascading Style Sheets) for this. For simplicity, we can use inline CSS.

Answer:

<!DOCTYPE html>
<html>

<head>
    <title>Lists Exercise</title>
    <style>
        h2,
        p {
            font - size: 16px;
        }
    </style>
</head>

<body>
    <h2>List #1</h2>
    <ol>
        <li>Apple</li>
        <li>Banana</li>
        <li>Carrot</li>
    </ol>
    <hr>
    <h2>List #2</h2>
    <ul>
        <li>PlayStation</li>
        <li>Xbox 360</li>
        <li>Wii</li>
        <li>PSP</li>
        <li>GameBoy</li>
    </ul>
    <hr>
    <h2>List #3</h2>
    <ol>
        <li>Coca Cola
            <ol>
                <li>Coke Zero</li>
                <li>Diet Coke</li>
                <li>Coke</li>
                <li>Sprite</li>
                <li>Sprite Zero</li>
            </ol>
        </li>
        <li>Pepsi Cola
            <ol>
                <li>Pepsi</li>
                <li>Diet Pepsi</li>
                <li>Mountain Dew</li>
            </ol>
        </li>
    </ol>
</body>

</html>