Question 14173 – NIC-NIELIT STA 2020
December 1, 2023Question 14180 – NIC-NIELIT STA 2020
December 1, 2023Web-Technologies
|
Question 38
|
Adding the style attributes in HTML elements, is known to be ______.
|
Internal
|
|
|
Inline
|
|
|
Outline
|
|
|
External
|
Question 38 Explanation:
CSS can be added to HTML documents in 3 ways:
Inline – by using the style attribute inside HTML elements
Internal – by using a < style > element in the < head > section
External – by using a < link > element to link to an external CSS file
Inline – by using the style attribute inside HTML elements
Internal – by using a < style > element in the < head > section
External – by using a < link > element to link to an external CSS file
The most common way to add CSS, is to keep the styles in external CSS files.
Correct Answer: B
Question 38 Explanation:
CSS can be added to HTML documents in 3 ways:
Inline – by using the style attribute inside HTML elements
Internal – by using a < style > element in the < head > section
External – by using a < link > element to link to an external CSS file
Inline – by using the style attribute inside HTML elements
Internal – by using a < style > element in the < head > section
External – by using a < link > element to link to an external CSS file
The most common way to add CSS, is to keep the styles in external CSS files.
