CSS Properties
Assessment
Activity
Enlightenment
What symbols do you frequently use when writing CSS code?
{ } : ;
< > / =
What HTML tag adds a line break?
<break>
<br>
<lb>
<p>
What HTML tag may be used to add CSS within a webpage?
CSS cannot be added to an HTML file. It may only be added in a CSS file.
<script>
<css>
<style>
Which of the following is not a CSS property?
padding
margin
background-color
font-color
border
text-align
The _____________ value of a CSS property is used when no other value is explicitly specified for an element?
standard
initial
base
default
This comic strip was generated at http://www.MakeBeliefsComix.com. Used by permission of author and site creator Bill Zimmerman.
Flex your CSS
Create a webpage that uses CSS to change the style of header elements.
- Create elements for the six heading elements provided in HTML (h1, h2, h3, h4, h5, and h6).
- Enter your full name in for the text of each heading element.
- View the page to see how each heading element looks by default.
- Use each the CSS properties introduced in this lesson (margin, padding, color, font-size, background-color, text-align, and border) in one or more of the heading styles to make each heading distinctive.