HTML container tags - proper usage

0 votes

I've been building websites for a while, but I've never really encountered a discussion about how the container tags should be used. In the collection tags, I've seen a wide range of content types, but it generally seems that the page's author simply chooses a style they prefer and sticks with it.

In my perspective, the biggest difference is between

<p> 

<div>


but I'd also like your thoughts on

<span> 

as well as any others I might have forgotten.

Jul 8 in HTML by Tejashwini
• 1,660 points
9 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In HTML

0 votes
0 answers

How to use HTML script tags to code while they have a source link?

I have seen that  <script src="..."></script> does not allow ...READ MORE

Jul 4 in HTML by Tejashwini
• 1,660 points
5 views
0 votes
1 answer

What is Html Web storage

With web storage, web applications can store ...READ MORE

answered Jan 31, 2020 in HTML by Niroj
• 82,740 points
744 views
+1 vote
1 answer

How can i create simple register form using html and css?

Html5 contains lots of elements using which ...READ MORE

answered Jan 31, 2020 in HTML by Niroj
• 82,740 points
3,058 views
0 votes
3 answers

HTML - Change\Update page contents without refreshing\reloading the page?

pushState() # The pushState() method let's you update the URL and create ...READ MORE

answered Dec 15, 2020 in HTML by Gitika
• 65,870 points
45,534 views
0 votes
0 answers

Is HTML case sensitive?

Would <!doctype html> or <!DocType Html> work ...READ MORE

May 9 in HTML by Kichu
• 19,040 points
37 views
0 votes
0 answers

How to embed Ruffle flash player emulator into HTML file?

I was implementing SWF (Small Web Format) ...READ MORE

May 27 in HTML by Tejashwini
• 1,660 points
9 views
0 votes
0 answers

Is there any Blank HTML tags?

Can someone tell me if there are ...READ MORE

May 27 in HTML by Tejashwini
• 1,660 points
35 views
0 votes
0 answers

what is the meaning of href in HTML?

Can someone let me know the meaning ...READ MORE

Jul 7 in HTML by Tejashwini
• 1,660 points
4 views
0 votes
0 answers

What is the difference between HTML div and span elements?

Please provide some straightforward examples of how ...READ MORE

Jul 21 in HTML by Ashwini
• 1,160 points
5 views
0 votes
1 answer

How blockchain hides it's HTML source?

When you click View Source, you see ...READ MORE

answered Jul 17, 2018 in Blockchain by Shashank
• 10,400 points
514 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP