Online Shiksha

By Savita S. More

Class 8 Computer Introduction to CSS

Learn Class 8 Computer Introduction to CSS Which includes short Que ans as well as long Que ans from the chapter.

 

Q- Which property is used to give the space between the table border and the content of the cell?

A- The property used to give space between the table border and the content of the cell is the padding property.

 

Q- How any types of CSS are there? Which are they?

A-   There are three types of CSS:

  • External CSS
  • Internal CSS
  • Inline CSS

 

Q- What is the extension of the external CSS file?

A- The extension of the external CSS file is .css.

 

Q- In how many parts in syntax is consist? Which are they?

A-   CSS syntax consists of two parts:

  • Selector: Specifies the HTML element to be styled.
  • Declaration: Contains one or more property-value pairs enclosed in curly braces.

 

Q- Which property specifies the transparency of an element?

A- The property used to specify the transparency of an element is opacity.

 

Q- Which property is used to repeat the background image?

A- The property used to repeat the background image is background-repeat.

 

Q- Which property is used to stop the repetition of a background image?

A- The property used to stop the repetition of a background image is background-repeat: no-repeat.

 

Q- Which property collapse the table border into a single border?

A- The property that collapses the table border into a single border is border-collapse.

 

Q- What is the use of<TH> tag

A- The <TH> tag is used to define table header cells in an HTML table.

 

Q- What is the range of opacity?

A- The range of opacity values is from 0.1 to 1, where 0.1 represents the lowest opacity (10% transparent) and 1 represents full opacity (100% opaque).

 

Q- What is the full form CSS and HTML?

A- CSS stands for Cascading Style Sheets, and HTML stands for HyperText Markup Language.

 

Q- Which property determines the space between 2 letters?

A- The property that determines the space between two letters is letter-spacing.

 

Q- Specify the highest and lowest heading tag?

A- The highest heading tag is <h1>, and the lowest is <h6>.

 

Q- What is used to beautify the webpages written in HTML?

A- CSS (Cascading Style Sheets) is used to beautify webpages written in HTML.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

online-shiksha © 2023 Frontier Theme