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, 2022 in HTML by Tejashwini
• 3,820 points
454 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, 2022 in HTML by Tejashwini
• 3,820 points
666 views
0 votes
0 answers

Remove all html tags from php string

I want to display the first 110 ...READ MORE

Aug 17, 2022 in HTML by Deepak
• 980 points
1,324 views
0 votes
0 answers

What is the difference between HTML tags and elements?

I've noticed that most people interchangeably refer ...READ MORE

Aug 19, 2022 in HTML by Tejashwini
• 780 points
483 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,840 points
1,622 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,840 points
4,877 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,770 points
61,449 views
0 votes
0 answers

Is there any Blank HTML tags?

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

May 27, 2022 in HTML by Tejashwini
• 3,820 points
402 views
0 votes
0 answers

what is the meaning of href in HTML?

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

Jul 7, 2022 in HTML by Tejashwini
• 3,820 points
328 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, 2022 in HTML by Ashwini
• 5,430 points
329 views
0 votes
1 answer

How to get current formatted date dd/mm/yyyy in Javascript and append it to an input

The stringent equality operator (===) works exactly like the abstract equality operator (==), with the exception that no type conversion is performed, and the types must be the same to be regarded equal. Javascript Tutorial on Comparison Operators After performing any required type transformations, the == operator will check for equality.  Because the === operator does not perform the conversion, it will simply return false if two values are not of the same type.  Both are equally fast. "abc" == new String("abc") ...READ MORE

answered Nov 4, 2022 in Java by Damonlang
• 700 points
1,481 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP