Monday, May 5, 2014

HTML Lessons part 12

In this lesson you are going to learn about drop-down menus.  Drop down menus only work on Google Chrome, Opera, and Safari.  They do not work on Internet Explorer, or Mozilla Firefox.  Drop-down menus are made with the <details> tag and the <summary> tag.  The summary tag is like the title of the menu.  This is how to code them.
<body>

<details>
<summary>Hi</summary>
<p>He said hi.</p>
</details>

This is what the code above would turnout like.  Click the arrow.  If you are using one of the unsupported browsers listed above then download Google Chrome or one of the other supported browsers.








Hi

He said hi.





That is all for today. By the way, to learn how to code HTML even better go to Code Academy for the basics and once you have learned all that go to w3schools for more tags and elements.

No comments:

Post a Comment