Question
Which of the following semantic HTML tags is best suited
for defining a block of navigation links?Solution
The < nav > tag is a semantic HTML element specifically designed to represent a section of navigation links within a web page. It improves the accessibility and structure of a webpage, making it clear to browsers and assistive technologies that the content within the < nav > tag is intended for navigation. < nav > < ul > < li > < a href="home.html" > Home < /a > < /li > < li > < a href="about.html" > About < /a > < /li > < li > < a href="contact.html" > Contact < /a > li > < /ul > < /nav > This tag helps search engines and screen readers prioritize navigation content appropriately. ________________________________________ Why Other Options Are Incorrect: 1. < header > : The < header > tag is used for introductory content or a section heading, not for navigation links. 2. < footer >: The < footer > tag represents footer content, typically including copyright information or secondary navigation, but not primary navigation links. 3. < article >: The < article > tag is for self-contained content like blog posts or news articles, unrelated to navigation. 4. < aside >: The < aside > tag is used for content tangentially related to the main content, such as sidebars or advertisements.
A milk seller assures that he sells at cost price but delivers 900 ml of a mixture that contains 180 ml of water. What percentage...
What is the % increase in the total number of shoes sold by Seller 'C' over the four days compared to the total number sold by Se...
A group of 30 students has an average score of 60 in an exam. If 5 more students join the group and their average score is 70, find the new average scor...
The average height of a basketball team consisting of 18 players is 185 cm. If the height of the coach and the assistant coach is...
A sphere has a diameter of 10 cm. A cone with a height of 10 cm and a radius of 5 cm is removed from the sphere. What is the volume of the remaining solid?
Let A = {10, 20, 30} and B = {5, 10, 15}. Which of the following relations from A to B is onto?
Two individuals, P and Q, set off from points X and Y simultaneously, moving toward each other. P travels at a speed of 60 km/h, while Q moves at 40 km/...
The set of all bijective functions from a finite set A to itself forms:
The ages of two siblings, John and Mary, are in the ratio of 5:3. Five years ago, the sum of their ages was 38 years. What are their current ages?
In an exam Dinesh scored 362 marks and Shivam got 68 % marks in the same exam which is 12 marks more than Dinesh. If the minimum passing marks in the ex...