\n

Hello World<\/h1>\n

This is my first paragraph.<\/p>\n<\/body>\n<\/html><\/pre>

This might seem basic, but skipping these can cause issues later — like broken encoding or missing titles.<\/p>

2. Text Formatting Tags: Making Content Readable<\/h2>

Text makes up most of any webpage, so knowing how to format it properly is key. Headings, paragraphs, and emphasis tags go a long way.<\/p>

Use heading tags (

<\/code> to
<\/code>) to outline your page like a book.

<\/code> should be your main title, followed by

<\/code> for sections, and so on. Search engines use these to understand your content hierarchy.<\/p>

Paragraphs go inside

<\/code>, and inline elements like bold (<\/code>) and italics (<\/code>) help emphasize points. Avoid using <\/code> or <\/code> unless you really just want styling without semantic meaning.<\/p>

Some common formatting tools:<\/p>