There is no difference while we put <aside> tag in the paragraph. And <p> instead of it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

There is no difference while we put <aside> tag in the paragraph. And <p> instead of it

Then which one we should use is aside important

22nd Mar 2020, 3:47 PM
Amana
2 Answers
+ 2
aside tag and p tag both have different uses. aside defines a slider control p defines a paragraph. While using aside, p, or a div tag, then some text between them, you basically may get the same result, yeah, but remember, you will be defining different controls in yoir html document. So, there's a need to use a specific tag when you are trying to define a control related to a specific tag, if its a paragraph, then p, slider control, then aside and many more. Happy coding 😊 Keep coding 🙏
22nd Mar 2020, 3:59 PM
Alfred Juma
Alfred Juma - avatar
0
Both tags have similar bahavior but a different semantic (logical) meaning. The logical meaning of an aside-tag is defining content aside from the content it is placed in. The logical meaning of a p-tag is defining a paragraph without further correlation to another content.
22nd Mar 2020, 4:00 PM
Michael
Michael - avatar