Lists & Relationships

Lists and Parent/Child Relationships

*Tip: Try having a notepad and writing down what you learn!

Back
Download Notes

Learn how to make lists! If you look below we are using a list in the "Main Points"! Can you tell which type we are using? And what it means when you nest elements inside of each other.

Main Points:

  1. "ul" stands for "unordered list" and provides a set of bullet points.
  2. "ol" stands for "ordered list" and, like this list, gives us numbers.
  3. "li" stands for "list item" and these are the elements we put inside of of our lists.
  4. A parent/child relationship describes elements that are nested inside of each other.
  5. Remember to INDENT your children so we can better see who is the parent and who is the child!
<ul>
----<li>Chocolate trees</li>
----<li>Banana clouds</li>
</ul>

**If you havent set up your website yet please watch the first videos under "Setting Up".

Sign Up