[1-11] I have a question within the example of an anchor and hyperlink practice.

Asked 1 years ago, Updated 1 years ago, 122 views

Hello, teacher.

In the grammar examination section later in the lecture,

<ul> cannot have another <ul> as a child element You've added a new <li>.

I wonder what's the difference between inserting <ul> in the introduction <li> as follows and the way you did it.

The appearance of being exposed to the web browser seems similar;;

Thank you.

fast-frontend html

2022-09-22 19:42

1 Answers

Hello, ID Museop :) - ^

In conclusion, it is an accurate implementation of the markup requirements written by Museop. You did a good job. :-)

<ul>
  <li>
    <a href="#intro">Intro</a>
    <ul>
      <li><a href="> Video Introduction</a></li>
      ...
    </ul>
  </li>
</ul>

Graphicize the markup you created as follows.

ul
└-- └── li
     └-- └── a
     └-- └── ul

The video lecture markup is as follows.

<ul>
  <li>
    <a href="#intro">Intro</a>
  </li>
  <li>
    <ul>
      <li><a href="> Video Introduction</a></li>
      ...
    </ul>  
  </li>
</ul>

Graphicize the above markup: It's different, right? ^ - ^;

ul
├-- ├── li
│   │   └── a
└-- └── li
    └-- └── ul


2022-09-22 19:42

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.