Best practice mark up and CSS

Just a couple of question for how to best structure code. 1. I saw in one of Kevins videos that there is an HTML element called <blockquote>. Should I use that instead of <article> in this mark up? 2. For the large quote signs in red I'm going to use ::before and ::after. Should they be put on the container element (either <article> or <blockquote>), or the first and last <p> Design: https://github.com/AMarlonG/Quote-by-the-artist-Beck/blob/main/assets/Beck-quote.jpg Repo: https://github.com/AMarlonG/Quote-by-the-artist-Beck
2 Replies
MarkBoots
MarkBoots2y ago
for me this is a typical blockquote, with indeed the quotations on the before and after
Å Marlon G
Å Marlon G2y ago
Cool! And according to mdn there is the use of cite, but that is only if you know the source of the quote? https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote
Want results from more Discord servers?
Add your server