2 answers
<!DOCTYPE html>
<html lang="en">
<head>
<title>Title of the document</title>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
codelikepro
· 19 Aug 2022
Report
Was this answer helpful?
Thanks for the feedback.
Sign up free to save answers and ask your own doubts
HTML tags are keywords written in angle brackets, like <p>, that tell the browser how to structure and display content.
- Most tags come in pairs: an opening tag
<p>and a closing tag</p>. The opening tag, content and closing tag together form an element:<p>This is a paragraph.</p>. - Some tags are empty (void) and have no closing tag:
<br>,<img>,<hr>,<input>. - Opening tags can carry attributes that give extra information:
<a href="page.html">. - Tags are not case sensitive, but lowercase is standard.
Common tags: <html> (root), <head>, <title>, <body>, <h1>–<h6> (headings), <p>, <a> (link), <img>, <ul>/<ol>/<li> (lists), <table>, <div>.
Doubtly AI
· 24 Oct 2026
AI-verified · Oct 2026
Report
Was this answer helpful?
Thanks for the feedback.
Sign up free to save answers and ask your own doubts
Your answer
Log in or create a free account to answer this question.