Page 83 - Chinmaya_C6_flipbook
P. 83
The background colour of the webpage is set to CYAN with all other specified properties displayed
on the webpage.
Tick ( ) if you know this.
▶ Inline CSS allows us to add styles directly to an HTML tag by using the style attribute.
▶ Internal CSS allows us to define the style for a single HTML page.
Life Skills & Values
Self Reflection
Aditya has learned how to create HTML documents and open them in a web browser. He showed a few of the
Self Reflection
pages created by him to his friend Divyanshu, who suggested that he should use CSS to style his webpages
to make them more attractive. Aditya has never heard about CSS. Should he admit the fact and ask for help
from his friend? Elaborate.
Hashtag
#HyperText: Text that can be linked to another text or document
#Attribute: An Attribute defines some extra features or properties of an HTML tag
REVISIT
▶ HTML or HyperText Markup Language is the primary building block for creating a webpage.
▶ HTML5 documents can be written in text editors like Notepad and Word processors.
▶ An HTML document is made up of various tags or elements.
▶ A tag is a coded HTML command that indicates how a part of the document will be displayed on the web
browser.
▶ An attribute is used to define some extra features or properties of an HTML tag.
▶ CSS (Cascading Style Sheets) is the language that describes the look and formatting of a document written
in HTML.
1. Tick ( ) the correct option.
a. In HTML, each tag giving a specific instruction is enclosed within __________.
(i) ( ) (ii) < >
(iii) { } (iv) None of these
b. Which of the following is not a category of HTML tags?
(i) Data tags (ii) Container tags
(iii) Empty tags (iv) Both (i) & (ii)
Learn HTML5 and CSS3 81

