Lists

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page   go to next page        

Answer:

Sure is. What is a typewriter?

Lists

HTML enables you to make an unordered list of items, such as this:

  • A list starts with the tag <ul>
  • A list ends with the tag </ul>
  • ul stands for "Unordered List"
  • Each List Item starts with <li> and ends with </li>
  • Each List Item will be started on a new line and will be preceded with a "bullet"
  • Sometimes such a list is called a bulleted list.
  • If you want a Ordered List (lines start with numbers instead of bullets) use <ol> and </ol>

Here is a Web page with a list for you to edit and play with:

Add some interesting substances to the list, such as "Nightshade", "Ricin", and "Sarin". Then click to see what the HTML does.

QUESTION 2:

Change the list to an ordered list by changes the <ul> and </ul> tags to <ol> and </ol>.