Unit 3 CSS

Ace your homework & exams now with Quizwiz!

What is the correct HTML for referring to an external style sheet?

<link rel="stylesheet"type="text/css"href="mystyle.css">

Which HTML tag is used to define an internal style sheet?

<style>

Where in an HTML document is the correct place to refer to an external style sheet?

In the <head> section

What is the correct CSS syntax for making all the <p> elements bold?

a {font-weight:bold;}

How do you display hyperlinks without an underline (CSS)?

a {text-decoration:none;}

Which HTML attribute is used to define inline styles?

style

How do you insert a comment in a CSS file?

/*this is a comment*/

Which is the correct CSS syntax?

body {color: black;}

What does CSS stand for?

Cascading Style Sheets

Which CSS property is used to change the text color of an element?

Color

Which CSS property controls the text size?

Font-size

Which property is used to changed the background color (CSS)?

background-color

How do you add background color for all <h1> elements (CSS)?

h1 {background-color:#ffffff:}


Related study sets

UWCSEA - IB Biology - Topic 8.3 - Photosynthesis

View Set

CSCI 2270 Multiple Choice CU Boulder Midterm 1

View Set

Lecture 11 - Introducing & Naming New Products and Brand Extensions

View Set

human capital chapter 14, HR ch:9, Chapter 10, Chapter 12, ch 11 383

View Set

reading assignment: human Resource Management

View Set