Top answers


Show how you would give all elements that have a class of 'class1', a green background.

.class1{ background-color: 'green'; } The full-stop before the text indicates that this css rule applies to a class with the name 'class1'.Inside the rule, the background-color attribute is given a value of ...
JC
2115 Views

What are main tags for text?

<b> </b> Bold<i></i> Italic<u></u> Underlined<s> </s> Strike
MP
1931 Views

How can we integrate animation to websites?

For implementing animations we need a couple of tools. One tool is CSS itself. We can create classes and describe the animations there. There are frameworks which are open source and give you a pre-written a...
MP
Answered by Mark P. HTML and CSS tutor
2341 Views

What is the difference between HTML and CSS?

HTML (Hypertext markup Language) can be thought of as the blueprint for a website. It defines the structure and content of the page in a way that can be easily understood by the browser that receives it.CSS ...
LB
Answered by Luke B. HTML and CSS tutor
2315 Views

How would I link a CSS stylesheet to my HTML page?

You’ll first need to place the CSS file in a folder that you can call upon. In this example the file named “stylesheet” is in a sub folder of the main directory called “style”. Therefore, the directory path ...
LC
Answered by Luke C. HTML and CSS tutor
2299 Views