DEV Community

Jocelyne1124
Jocelyne1124

Posted on

Module 4 Discussion Question

  1. The following code will create an unorderd list.
    <!DOCUTYPE html> <.html> <.header><.title><.body><.p><.ul><.li> Vikings<./li> <.li> Bears<./li> <.li> Lions<./li><./ul><./p><./body><./html>

  2. The following code will create an order list, in decending order.
    <!DOCUTYPE html> <.html> <.header><./header><.title><./title><.body><.p><.ol reversed start= "5"><.li>Pulp Fiction<./li><.li>The Dark Night<./li> <.li> The Godfather<./li> <.li> The Godfather: Part II<./li><.li> The Shawshank Redemption <./li><./ol><./p><./body><./html>

  3. A description list consists of 3 HTML elements; Details, summary and paragraph. The <.Details Open> tag will open content by default.The <.summary> tag will be the actual summary of what will be included and this is the overview the reader will see. The paragraph tag(<.p>) is where we will type the information that will be displayed when we pull down this menu.

  4. The following code will create a navigation list for the respective files:
    <.!DOCUTYPE html> <.html> <.header><.title><.body><.p>
    <.nav><.a href=“index.html”>Home |<.a href=“faq.html”>FAQ |<.a href=“contacts.html”>Contacts

Top comments (0)