Question

In: Computer Science

construct an HTML page that contains a three levels nesting list. 2 items are required on...

construct an HTML page that contains a three levels nesting list. 2 items are required on each level (could be random texts of your choice). The first level is to be an ordered list, the second level should be unordered list and the third level should be Description List.

Solutions

Expert Solution

Hi, here we have a web page which shows a list of some countries by continents along with the capital and population of each country.

<html>
   <head>
       <title></title>
       <style>
           <!--Styling the lists by applying different font size-->
           ol {font-size : 26}
           ul {font-size : 18}
           dl {font-size : 10}
       </style>
   </head>
   <body>
       <!--Heading-->
       <h1>List of Countries by Continents</h1>
       <h3>
           <!--Ordered List Start-->
           <ol>
               <!--List Item-->
               <li>Asia</li>
               <!--Unordered List Start-->
               <ul>
                   <li>India</li>
                   <!--Descriptive List Start-->
                   <dl>
                       <dt>Capital</dt>
                       <dd>New Delhi</dd>
                       <dt>Population</dt>
                       <dd>1.3 Billion</dd>
                   </dl>
                   <!--Descriptive List End-->
                   <li>Japan</li>
                   <dl>
                       <dt>Capital</dt>
                       <dd>Tokyo</dd>
                       <dt>Population</dt>
                       <dd>126 Million</dd>
                   </dl>
               </ul>
               <!--Unordered List End-->
               <li>Africa</li>
               <ul>
                   <li>Egypt</li>
                   <dl>
                       <dt>Capital</dt>
                       <dd>Cairo</dd>
                       <dt>Population</dt>
                       <dd>90 Million</dd>
                   </dl>
                   <li>Senegal</li>
                   <dl>
                       <dt>Capital</dt>
                       <dd>Dakar</dd>
                       <dt>Population</dt>
                       <dd>14 Million</dd>
                   </dl>
               </ul>
               <li>North America</li>
               <ul>
                   <li>USA</li>
                   <dl>
                       <dt>Capital</dt>
                       <dd>Washington, District of Columbia</dd>
                       <dt>Population</dt>
                       <dd>330 Million</dd>
                   </dl>
                   <li>Canada</li>
                   <dl>
                       <dt>Capital</dt>
                       <dd>Ottawa</dd>
                       <dt>Population</dt>
                       <dd>37 Million</dd>
                   </dl>
               </ul>
           </ol>
           <!--Ordered List End-->
       </h3>
   </body>
</html>

Sample Output:


Related Solutions

Construct an HTML page that contains a three-level nesting list (you may choose the type of...
Construct an HTML page that contains a three-level nesting list (you may choose the type of the list you want to use). One item on each level. Use the three attached images as the content of each of the three list items. -exam prep -msnlink -success example for person who asked in comments Los Angeles Lakers LeBron James LeBron James Sr. is an American professional basketball player for the Los Angeles Lakers of the National Basketball Association. He is widely...
Create an HTML page that contains a three-level nesting list (you may choose the type of...
Create an HTML page that contains a three-level nesting list (you may choose the type of the list you want to use). One item on each level. Use the three attached images as the content of each of the three list items. use any random image name located in the default directory
Write an HTML file for a web page that contains the items below. Use an internal...
Write an HTML file for a web page that contains the items below. Use an internal style sheet to specify all fonts, sizes, colors, and any other aspects of the presentation. Your page should contain the following items: 1) A header with white text on dark green background (just for the header, not the entire page), in Impact font, bold, and centered. 2) Two paragraphs of text, each with dark gray text in Tahoma font, on a light blue background,...
Create a web page using PHP and HTML that contains a list of movie names available...
Create a web page using PHP and HTML that contains a list of movie names available for rent (at least 10 movies), so that each time you visit the home page, you see a different order of movies in the list. The movie names are required. 2) The rental price for each movie ranges between $1.99 to $7.99. • Create an associative array with a code for the movie as the key (e.g., movie1, movie2, etc.) and the associated rental...
2.) List at least 5 different items that belong on each of the three sections of...
2.) List at least 5 different items that belong on each of the three sections of the Statement of Cash Flows and state whether it would increase or decrease cash (15 total items).   3.) List at least 5 solvency ratios, 5 liquidity ratios, and 5 profitability ratios, showing the formula for each and a brief explanation of why they are useful.  
using text edit html Create a Web page that makes a list of your favorite movies...
using text edit html Create a Web page that makes a list of your favorite movies and a list of your favorite actors. Make one list ordered (numbered) and one list unordered (bulleted). Title your Web page - John Doe's Movies Page but use your own name (this information goes in the title tag). Also include a paragraph describing one of your favorite movies and another paragraph describing one of your favorite actors. Include two heading levels - h1 and...
Write an HTML file that create the following web page. my first nested list steps of...
Write an HTML file that create the following web page. my first nested list steps of backing a cake Important notes: You should have to copy and paste the “HTML script” as your answer for this question. DON’T take screen shot for your HTML script. It must be editable script. Take a screen shot for your output web page and paste it as a part of your answer.
1. An HTML document that’s generated by a web application is a ________________________ web page. 2....
1. An HTML document that’s generated by a web application is a ________________________ web page. 2. An easy way to log the progress of an application in Chrome’s Console panel is to insert __________________ methods at critical points in the code. 3. The childNodes property of a DOM object returns a/an ______________________ of the child nodes for that object. 4. The ___________________ method of an array can be used to concatenate the elements of the array into a single string.​...
2. The HTML document on the following page consists of JavaScript code executed when the document...
2. The HTML document on the following page consists of JavaScript code executed when the document is loaded. It prompts the user for his/her name (first and last names) then outputs the greeting “Hello Mr. _____!” or “Hello Ms. _____!” (where _____ is the user’s last name) depending on whether the first name is recognized as a male name. (In the code, only three male names are checked; a realistic program would check many more names.) We allow for the...
Box A contains 7 items of which 2 are defective, and box B contains 6 items of which 1 is defective.
Box A contains 7 items of which 2 are defective, and box B contains 6 items of which 1 is defective. If an item is drawn at random from each box. Find the probability that both items are non- defective. 1/21 19/42 10/13 25/42
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT