HTmlcssjs
HTmlcssjs
CLASS- VII
SUBJECT- ICT
TOPIC- Coding with HTML
LET’S CHECK-IN Pg no. 81
• 1 Web Site
• 2. web Browser
• 3. Search Engine
• 4. URL
2
Section - A
A. Fill in the blanks:
• 1. Attributes
2. <P>, </P>
3. Inline
4. Declaration
5. Tags
1
B. MCQs.
1. Attributes
2. <h1>
3. Alignment
4. Both A and B
5. Cascading Style Sheets
4
Section-C
State True or False:
1. True
2. False
3. True
4. False
5. True
2
D. Answer the following:
6
•
Q2. Define Attributes.
3
Q3. What do you mean by Tags? What are its types? Explain
with example.
Ans A tag is the basic component of an HTML document. Tags
are used to define how a web Page will format the content
and display it. They do not appear in the browser window, but
only affects the display of the content. An HTML tag begins
with a ‘less than’ symbol(<) and ends with a ‘greater than’
symbol(>). There are two types of tags, Container tags and
empty Tags.
Example of a container tag, <HTML>---</HTML>.
Example of an empty tag <p>
4
Q 4. What is CSS? Why do we use it?
Ans CSS stands for Cascading Style Sheets. CSS is
used to design a web page. While HTML is used
to lace the content of the webpage, CSS is used
to set the layout of the webpage. CSS is used to
style the webpages because it is a versatile tool
and grant more control of the appearance of the
webpage and its content.
9
Q 5. Explain any two methods of applying CSS.
Ans Two methods of applying CSS are: An
internal CSS is used to define a style for a single
HTML page. Internal CSS is defined in the section
of an HTML page, within a<style> element.
An external style sheet is used to define the
style for many HTML pages. With an external
style sheet, you can change the look of an entire
website, by changing one file.
10
Q6. Define Marquee Tag?
Ans. The Marquee HTML tag is an HTML element
which is used to scroll an image or text horizontally
or vertically(Up, down, left, right ) automatically.
Eg. < marquee> my text </marquee>
5
Thank
you
8