Code.org Computer Science Discoveries Practice Test

Access More Questions
What is the purpose of the tag in HTML?
Correct Answer:
To define a paragraph of text.
Explanation:
Using a

tag creates a paragraph of text in HTML. It marks a block of content as a paragraph, which gives it the typical paragraph spacing in browsers and makes it easy to style with CSS. You wrap sentences inside

…

to separate different blocks of text. This tag is specifically for text paragraphs, not for embedding video, creating lists, or making hyperlinks (those use

Access more questions from this quiz

Continue to Code.org Computer Science Discoveries Practice Test for more practice questions and the full quiz experience.

Access More Questions