COMPUTER SCIENCE AND ENGINEERING
WEB TECHNOLOGY
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which rule set would change the font size to 24?
|
font-size:24
|
|
size:24;
|
|
font-size:24;
|
|
font size:24;
|
Explanation:
Detailed explanation-1: -To change the font size in HTML, use the style attribute. The style attribute specifies an inline style for an element. The attribute is used with the HTML <p> tag, with the CSS property font-size.
Detailed explanation-2: -To change the size of your text with inline CSS, you have to do it with the style attribute. You type in the font-size property, and then assign it a value.
Detailed explanation-3: -H1: 32 pt (30–34pt) H2: 26 pt (24–28pt) H3: 22 pt (20–24pt) H4: 20 pt (18–22pt)
There is 1 question to complete.