HTML Questions and Answers 100%
Verified
How can you make a word "dance" with HTML?
While HTML can’t make text literally dance, you can wrap it in a `<span>` tag and use CSS
animations to create movement.
What's the HTML tag to give a "surprise message" that only shows up when th...
HTML Questions and Answers 100%
Verified
How can you make a word "dance" with HTML?
✔✔While HTML can’t make text literally dance, you can wrap it in a `<span>` tag and use CSS
animations to create movement.
What's the HTML tag to give a "surprise message" that only shows up when the user hovers?
✔✔Wrap the hidden message in a `<span>` with the CSS `display: none`, then show it with a
hover effect on the parent element.
How do you make a button look like a shiny candy button in HTML?
✔✔Use the `<button>` tag and give it a gradient style and a slight shadow with CSS for a candy-
like effect.
What tag would you use to set the scene for a "mystery reveal" paragraph?
✔✔The `<details>` tag allows content to be hidden until the user clicks to reveal it, perfect for a
"mystery reveal."
1
, How do you make an image "speak" its description for accessibility?
✔✔Use the `alt` attribute in the `<img>` tag to provide a text description that screen readers can
speak aloud.
What element lets you put a "secret message" in your HTML without it appearing on the page?
✔✔The `<!-- comment -->` syntax allows you to add comments that are invisible to users but
readable in the HTML source.
How can you create a "magic" hyperlink that jumps to another section on the same page?
✔✔Use an `<a href="#section-id">` link, where `#section-id` corresponds to the `id` of the target
element.
What tag lets you create a "treasure map" where clicking an area leads to different links?
✔✔Use the `<map>` and `<area>` tags to create clickable regions on an image, like a treasure
map.
How do you create a "glowing" text effect in HTML?
✔✔Use the `<span>` tag for the text, then add a CSS `text-shadow` effect to make it appear to
glow.
2
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller StellarScores. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.