Tagging in HTML

Updated: February 17, 2022
No Credit Card Required
ClaimYour
FreeTrialClass

Transcript

Check this out. I am putting on my site, “I have two cats. My cats are the most beautiful in the world.” 

 This text is sitting right between two things we call TAGS. This “P” is for the paragraph tag. 

When writing HTML code, you start with an open tag – which is made with an open bracket – p – and then close bracket, and finish with a close tag. 

Notice that the close tag has a forward slash. 

The P – paragraph tag can be used for short phrases like something catchy for your new blog.

I wanted to highlight my sentence 

“Cats are much better than dogs.” 

You can also use the h1 tag, which is short for heading. 

A heading is used for text that describes a new section in your web page. Here's a heading that says

 MY PERSONAL VIEW OF CATS.

Headings should help your users understand what that section is about. 

So right below my heading, there's a paragraph that says, 

I have two cats. My cats are the most beautiful in the world.

I can add another paragraph below that, it describes why and what I think that cats are so great, and why I think my cats are so great. 

You might have noticed a couple of weird characters h1 tags. 

These are called angled brackets.

To help myself remember these characters, I use a little trick, and picture what my hands look like when I'm holding my lunch. This could be a sandwich, a roti or a vegetarian bao.

 See, nothing like a paragraph roti. Anyway, since you learned about the P and h1 tags, now you have the power to create your own simple webpage.

Loading...