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, A and B, cross each other in 20 seconds and 30 seconds respectively, when running in opposite and the same direction respectively. If the sp...
- A man is running at 5 m/sec in the same direction of a train. The train crosses him in 5 seconds. If the train’s speed is 90 km/hr, find the time it take...
Two trains ‘A’ and ‘B’ started from station ‘P’ and ‘Q’ towards station ‘Q’ and ‘P’ respectively at the same time. When they met...
Two trains of same length are running in parallel tracks in the same direction with speed 61 km/hr and 115 km/hr respectively. The latter completely cro...
- The distance between town A and town B is 555 km. A train leaves A at 7 a.m. at a speed of 60 km/h. Another train leaves B at 9 a.m. towards A at a speed o...
A train can cross a man standing on a platform of 250 metres length in 70 seconds and can cross the platform in 87.5 seconds. Find the length of the train.
A 140 m long train crosses another 260 m long train running in the opposite direction in 15 seconds. If the shorter train crosses a pole in 14 seconds, ...
- Train 'A' having a speed of 25 m/s can cross a man in 6 seconds. The length of train 'B' is 30 metres more than the length of 'A'. If the speed of 'B' is 3...
Two trains of same length are running in parallel tracks in the same direction with speed 55 km/hr and 115 km/hr respectively. The latter completely cro...
- A man is running at a speed of 10 m/sec in the same direction of the train. Train can cross the man in 6 seconds. If speed of the train is 108 km/hr, then ...