Advertisements
Advertisements
Question
What type of CSS is the following code snippet?
<h1 style="color:blue;">A Blue Heading</h1>Options
External
Inline
Outline
Internal
Advertisements
Solution
Inline
APPEARS IN
RELATED QUESTIONS
______ is used with elements that overlap with each other.
.cs is the extension of CSS file.
______ character is used to create an id in CSS.
A CSS rule set contains ______ and ______.
- Set
- selector
- post
- declaration
- <>
Positioning types in CSS are ______
- Static
- fixed
- absolute
- position
- dynamic
- nested
Types of floating properties are ______, ______, ______
- left
- zero
- right
- all
- none
- dock
Write a program using html with following CSS specification -
- The background color of the company name should be green.
- The text color of the company name should be red.
- The heading should be large with font ''comic sans ms''
- The description of the company should be displayed in blue color in a paragraph.
Write Html5 code with CSS as follows -
- To create form to accept name, age, email address, from the user.
- Create a submit button to send the data.
- The heading of the form should have a background color and a different font style.
"CSS is the most popular choice for the web developers these days". Write any four advantages of CSS.
Write an external CSS code snippet to set all four margins of the body tag with 5px each.
