Can I use tags like section and article in the product description?
-
I am trying to add semantic tags like <section> and <article> rather than general wrappers like <div> or <span> so I can target items in my product description with css. When I use <section> or <article> my <h2> heading disappears within those tags but leaves the paragraph alone that comes right after withing the same <article> tag. Am I not able to use these for some reason? I am somewhat new at this and cannot figure out why it is removing them. I just want to do things the correct way and not have several meaning-less <div>’s or <span>’s on my page. Also if I open my code from my editor (sublime) in google it works fine. I also put it through a validator and everything was fine there too. Thank you for any help anyone can give me.
- The topic ‘Can I use tags like section and article in the product description?’ is closed to new replies.