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’ and ‘B’ can do a piece of work in 25 days and 30 days, respectively. If they started the work together and worked on it for 5 days, then fin...
Out of 10 men, 3 are wearing red caps, 4 are wearing green caps, and the remaining men are wearing orange caps. They are to be seated in a linear row. I...
In what ratio rice at 47 Rs/kg should be mixed with the rice at 28 Rs/kg so that selling mixture at Rs 45 per kg gives the profit of 25% if the quantity...
33.98 X 17.99 - (7.99 X 8.99) ÷ 1.99 - 27.99 X 4.01 = ? X 3.99
If '176x95' is a six-digit number that is divisible by 3, then find the maximum value of '5x'.
In a Mixture, the ratio of Milk and Water is 7: 5. If 12 litre mixture drawn off and replace by 8 litre water then the ratio of Milk and Water become 1...
A shopkeeper offers successive discounts of 20% and 10% on a product. If the marked price of the product is ₹1000, what is the selling price?
You are provided with three sequences below. Determine the values of P, Q, and R, and then identify the relationship among them.<...
The three digits of a three-digit number are in the ratio 3:2:5. If 111 is added to this number, what is the sum of the digits of the resulting number?
In what ratio rice at 52 Rs/kg should be mixed with the rice at 36 Rs/kg so that selling mixture at Rs 50 per kg gives the profit of 25% if the quantity...