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.
Two trains started from stations ‘A’ and ‘B’ at same time and started travelling towards each other at speeds of 60 km/hr and 50 km/hr, respecti...
Two trains 160 metres and 140 metres in length are running towards each other on parallel tracks, one at the rate 52 km/hr and another at 38 km/hr. In h...
Train X, traveling at a speed of 36 km/hr, crosses another train Y, which is moving in the opposite direction at a speed of 72 km/hr, in 't' seconds. If...
A train approaches a tunnel a PQ. Inside the tunnel a cat located at a point i.e., 7/16 of a distance PQ measured from the entrance P. When the train wh...
A train running at 90 km/h crosses an electric pole in 18 seconds and a platform in 55 seconds. What is the length of the platform?
A train travelling with a speed of 54 km/h can cross a pole in 6 seconds. Find the time taken by the train to cross a 180 metres long platform if the sp...
A train with 10 compartments of equal length takes 20 seconds to cross a pole and 28 seconds to cross a 160-metre-long platform. If 4 compartments of th...
Two trains start simultaneously from stations X and Y, moving toward each other. The first train travels at a speed of 60 km/h, w...
A train of length 400 metres crosses a man standing on platform in 16 seconds. If its speed decreases by 20%, then find the time taken by train to cros...
Speeds of train 'A' and train 'B' are in the ratio 2:3, respectively. Train 'B' can completely overtake train 'A' in 300 seconds. If lengths of train 'A...