I have tried the following code to change the p text without any success, I'm not sure how to call the p in order to change the text, how do I call this?
p.min-pariticipants {
font-weight: bold;
color: red;
font-size: 30px;
<p> Test </p>
}
I'm not sure what you're actually trying to accomplish; but writing HTML inside CSS is a no go. If you're trying to change the contents of the
p
tag and you don't have access to the actual HTML; then you can use a small line JavaScript to accomplish this.If you're looking to add additional content to the
p
tag, then you can use the CSS pseudo selectors::after
or::before
; this will put new content alongside the pre-existing one.