I can\'t get my hightlight code to work HTML code in Sublime Text This is the ht
ID: 3780830 • Letter: I
Question
I can't get my hightlight code to work
HTML code in Sublime Text
This is the html code
<section id="secondary">
<h3>Additional Resources</h3>
<p>Visit the <span class=”highlight”>Resources</span> section of our website for additional help. </p> <h3>Contact Information</h3> <p>Please contact the <span class=”highlight”>author</span> for additional resources at shawn@github.com. </p>
</section>
This is the CSS code
.highlight {
background-color: yellow;
font-weight: bold;
}
It is not highlighting anything please help me figure this out.
Explanation / Answer
solution:
<!DOCTYPE html>
<html>
<section id="secondary">
<h3>Additional Resources</h3>
<p>Visit the <span class=”highlight”> <span> <span>
Resources</span></span> section of our website for additional help. </p> <h3>Contact Information</h3> <p>Please contact the <span class=”highlight”> <span> <span>author</span></span> for additional resources at shawn@github.com. </p>
</section>
<body>
The content of the body element is displayed in your browser.
</body>
</html>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.