The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Selecting a classless paragraph
Is there a way i can target a class-less or id-less tag? specifically a paragraph tag?
yes, but you’d have to give an example b/c the solution will definitely vary based on context.
@attilahajzer, it is better not to over specify class such as
.text p {your styles}
but use instead generic class like:
.text-something {your styles}
HTML
My text
That way you can reuse that class with other elements if necessary