Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 4 CSS Basics (Unit 3, 20 marks) (a) Which HTML tag is used to define an internal style sheet? [1 mark] (6) Where in

image text in transcribed

Question 4 CSS Basics (Unit 3, 20 marks) (a) Which HTML tag is used to define an internal style sheet? [1 mark] (6) Where in an HTML document is the correct place to refer to an external style sheet? [1 mark] (c) Give two good reasons for using inline style (i.e. a style using the style attribute e.g.

) [2 marks] (d) Describe two main advantages of using an external style sheet? [4 marks] (e) Compare and contrast
and ? [2 marks] (1) Write a style rule that selects

elements and sets the color property to red. [1 mark] (g) Write the style rule for a class selector named 'highlight". Set the font-weight property to bold and color to pink. [1 mark] (h) What is the advantage of working with the class attribute? [2 marks] (1) What element does this selector choose? [1 mark] p.warning 6) Write a style rule that applies a yellow background color to elements when the user points the mouse to a hypertext link. [1 marks] (k) What is the correct CSS syntax for making hyperlinks without an underline? [1 mark] (1) List all the possible value of the position property. [2 marks] (m) What is the default value of the position property? [1 mark]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Students also viewed these Databases questions

Question

What does HITIS stand for?

Answered: 1 week ago