Turn plain text into a small, correctly structured article.
What to build
A heading and two paragraphs from this text: the title Why learn HTML; the sentence Every web page uses HTML.; the sentence It is the first step to building websites.
Requirements
- One
h1with the title. - Two
pelements, in order, one for each sentence. - In the first paragraph, the word
Everyinstrong. - In the second paragraph, the word
firstinem.
Constraints
Paragraphs must be siblings: a p may not contain another p.
Example
The page should read from top to bottom: heading, first sentence, second sentence.
Why it works
Two paragraphs side by side become two sibling branches of the tree, each with its own small branch for the marked word.
Hints
Hint 1
Each sentence group becomes its own p. Decide which words are truly important before using strong.
Hint 2
A heading goes first, then the paragraphs. Paragraphs are siblings, not nested.
Solution
Show one correct solution (try it yourself first)
<h1>Why learn HTML</h1> <p><strong>Every</strong> web page uses HTML.</p> <p>It is the <em>first</em> step to building websites.</p>