+ 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
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 đ
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.