HTML Review Questions and Answers
Already Passed
How do you create a text area for user input?
Use the `<textarea>` tag to create a multi-line input field, often used for longer text entries.
What does the `placeholder` attribute do?
The `placeholder` attribute displays a hint in a...
✔✔Use the `<textarea>` tag to create a multi-line input field, often used for longer text entries.
What does the `placeholder` attribute do?
✔✔The `placeholder` attribute displays a hint in an input field before the user types anything.
How do you define a table header?
✔✔Use the `<th>` tag inside a `<table>` to create a header cell, which is typically bold and
centered.
What is the use of the `<time>` tag?
✔✔The `<time>` tag represents a specific time or date, adding semantic meaning and helping
search engines recognize dates.
How can you make text italic without using the `<i>` tag?
✔✔Use the `<em>` tag to italicize text, which also implies emphasis for assistive technologies.
1
, How do you create a numbered list?
✔✔Use the `<ol>` tag to create an ordered list, with `<li>` tags for each list item, resulting in a
numbered format.
How does the `<abbr>` tag function?
✔✔The `<abbr>` tag marks an abbreviation or acronym, with the `title` attribute displaying its
full form on hover.
What’s the purpose of the `<code>` tag?
✔✔The `<code>` tag displays code snippets in a monospaced font, distinguishing it visually as
programming code.
How can you control the tab order of form elements?
✔✔Use the `tabindex` attribute to define the order in which form fields are selected when
pressing the tab key.
What does the `<footer>` tag signify?
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 EFT, 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 this summary 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 this summary for R185,69. You're not tied to anything after your purchase.