Fun With HTML5
With continuing my current project of helping my restaurant’s menu be fixed online, I came across more HTML tags that I recently have been using. Perfect timing, I needed a refresher and they needed a new menu desperately. With that, I do have examples to show!
Starting with nav element, the nav element defines a navigation area. Such as where all the links are and menus such as this one.
But in code it would show up as so:
It’s not the same exact code as the one shown above but its similar in what its job is. This comes very useful for when you want to present an area full of links such as a menu, where a user can click of a button go anywhere they need to and will always have that section to go to.
Next one is simple but very necessary I think for a menu, which is the strong element. What the strong element does is that it makes a text bold and seem more important. The code to use it is extremely simple and this is the outcome.
Final one i’ll be mentioning today will be the hyperlinks, something ill be sure to use more consistently than I previously thought. How we create a link tag is using an href and having it set to a link or website of our choosing. As an example we will be linking the roosters website within the code.
When clicking on it, it should bring you to the location where the roosters menu lies. But thats all for now! Something short and sweet to review over. HTML elements I currently find useful. Be on the lookout for more of my content soon! Thank you again for reading!