Computer Science, asked by omesh9672, 8 months ago

Write html5 code with css as follows create ordered list with names of tourist cities

Answers

Answered by priyanshusingh171036
5

Answer:

Using css we can make them stylish and effective, we can also use images as list item marker. list-style : set all properties in one declaration. list-style-type : set item marker type. list-style-position : set list-item markers appear inside or outside of the content.

Answered by sanketisgreat
7

Answer:

<!DOCTYPE html>

<html>

   <head>

       <style>

           header{color: pink;background-color: powderblue;text-align: center;width: 100%;height: 20%}

           section{background-color: lightyellow;width: 50%;height: 30%;float: left;}

           aside{background-color: pink;width: 50%;height: 30%;float: right;}

       </style>

   </head>

   <body>

       <header>

           <h1>Tourist Places</h1>

       </header>

           <section>

               <b>City</b>

               <ol>

                   <li>Pune</li>

                   <li>Bangalore</li>

                   <li>Hyderabad</li>

                   <li>Delhi</li>

               </ol>

           </section>

           <aside>

               <b>Tourist Places in Pune</b>

               <ul>

                   <li>Shaniwar Waada</li>

                   <li>Kelkar Museum</li>

                   <li>Sinhgad Fort</li>

               </ul>

           </aside>

   </body>

</html>

Explanation:

^_^

Similar questions