html introduction part 4


 

HTML Introduction part 4

6. <p></p> 

This tag specifies that a given section is supposed to be its own paragraph. Browsers usually insert blank spaces between paragraphs, making the text easier to read. 

7. <a></a> 

This tag let’s us create a link with its ‘href’ attribute, like so: 

<a href=linke you get>Click here</a>. 

8. <img></img> 

The ‘image’ tag is how you insert images into a web page. 

9. <div></div> 

Div tags group multiple pieces of content into a single container, which allows you to do things like apply separate styling to just that content

10. <span></span> 

Span is like a smaller version of div, used to style or interact with inline content. You could add just a couple of words to a particular class (<span class=’endorsement’>Text</span>) which, again, is great for styling and making the content more responsive.

Comments