Question:medium

A web developer is creating a webpage where: 
• A heading is displayed at the top 
• A paragraph of text follows 
• A link is provided to navigate to another webpage
 Which of the following HTML code snippets correctly represents this structure?

Show Hint

Visible content = Body. Metadata/Scripts = Head. Link = A tag with HREF attribute. Always remember this separation.
Updated On: Jul 4, 2026
  • <head> < h1> Title </h1> </head> <body> Text <a href="page.html"> Link </a> </body>
  • <html> <h1> Title </h1> Text <a> Link </a> </html>
  • <html> <body> <h1> Title </h1> Text <a href="page.html"> Link </a> </body> </html>
  • <html> <title> Title </title> Text <link> page.html </link> </html>
Show Solution

The Correct Option is C

Solution and Explanation

Was this answer helpful?
0

Top Questions on Regular expressions and finite automata