HTML Flashcards
What HTML tag creates an ordered list?
<ol>
</ol>
What HTML tag creates an unordered list?
<ul>
</ul>
How do you change the color of text in HTML using inline CSS?
Use the ‘style’ attribute with ‘color’ property. Example: <p style='color:blue;'>This is blue text.</p>
Which CSS property changes the background color of a webpage?
background-color
What is the correct HTML tag for a list item within an ordered or unordered list?
<li>
</li>
Which of the following creates an ordered list?
<ol>
</ol>
Which of the following creates an unordered list?
<ul>
</ul>
How do you change the background color to green using inline CSS?
<body style='background-color:green;'>
Which of the following is used to change the text color to red?
style=’color:red;’
## Footnote:
Remember that American spelling of “colour” is used.
What is the CSS property to remove the underline from links?
text-decoration: none;
How do you change the link color to purple using CSS?
a { color: purple; }
Which of the following HTML elements is used to define list items?
<li>
</li>
What does ‘ol’ stand for?
Ordered List
What does ‘ul’ stand for?
Unordered List
How to change all links to have a font size of 20px using css?
a {font-size: 20px;}