top of page

3. P tag (Paragraphs tag)​

<p></p>

(The browser automatically add space between paragraphs)

Paragrahs tag.png
Paragraphy tag 2.png

4a. Br tag –  Line break

    <br>

It does not have a closing tag, because it’s not used to surround text. It called void elements.        </br>

Breakline 1.png
Breakline 2.png
Screenshot 2025-12-01 at 10.40.23 AM.png

4b.<pre> Tag

The <pre> tag displays all whitespace (spaces, tabs, and newlines) as they appear in the source.

Its primary function is to display text exactly as it is written in the HTML source code, preserving both spaces and line breaks.

Screenshot 2025-12-08 at 9.30.36 AM.png

5. Style tag: (Add styles to the text)

Add bold <b></b>

Screenshot 2025-12-01 at 11.06.00 AM.png
  • Add bold <b></b>

  • Italics / eye tag <i></i>

Screenshot 2025-12-01 at 12.57.59 PM.png
  •  Underline <u></u>

Screenshot 2025-12-01 at 1.12.52 PM.png
  • Emphasize / em tag

  • Strong tag / <strong></strong>

Screenshot 2025-12-01 at 1.19.19 PM.png
Screenshot 2025-12-01 at 1.26.43 PM.png
  • Horizontal line <hr>

Screenshot 2025-12-01 at 2.07.47 PM.png

Remember to save the file every time you change any thing in your website and reload the browser, otherwise you cannot review what you change!!!

bottom of page