Computer Science, asked by swamivivekanand, 1 year ago

Sunita a student of class eight wants to develop web page on solar system. in her page, she want to display the list of planets. clicking on the planet name it should display the information about the planet stored in a separate HTML file. tell her, how can she do so?


swamivivekanand: please answer fast
flip3456: tag or unordered list - ordered list

Answers

Answered by flip3456
2
Use <ul> or <ol> tag unordered list - ordered listThen use <li> listed item tag inside the <ul> or <ol> tag

<ul>
   <li>Saturn</li>
   <li>Uranus</li>
   <li>Jupiter</li>
</ul>

<a> for the link to another web page

<ul>
   <a><li>Saturn</li></a>
   <a><li>Uranus</li></a>
   <a><li>Jupiter</li></a>
</ul>

herf="Test.html" in the <a> tag for the link of the webpage.
the test.html is the html file code of the planet stored in a separate HTML file

<ul>
   <a href="Test1.html"><li>Saturn</li></a>
   <a href="Test2.html"><li>Uranus</li></a>
   <a href="Test3.html"><li>Jupiter</li></a>
</ul>
Similar questions