New Update :- Start learning with us

Class-6th Computer ( Ch-8 )

3 comments

 Class- 6th Computer 

Note:- You can write this from 19 January to 20 January(इसे आप 19 जनवरी से 20 जनवरी तक लिख सकते हैं)


Class-6th Computer 

 Chapter:- 8 Creating web pages using HTML5 .

(Note:- Do not leave page for Hardwords)


Note:- Leave two page for short question and question . it will be published on 20 January .




Q.B Answer the following questions 

Q.1    What is HTML ? What are the basic tools required to work with the HTML documents?

Ans:-     HTML stands for Hypertext Markup Language. It is a complete code package that allows you to create web pages that contain both text and graphics.

    Tools to be Used:- 

    We You require two basic tools to work with the HTML documents:

    1.   HTML Editor - for creating and saving the documents

    2.  Browser - for viewing the documents


Q.2  Explain the terms tags and attributes with the help of an example. 

Ans:- Tags :-  Tags are the building blocks of a web page. They have elements that define how the information on a web page is formatted or displayed. You can also include non-text items, such as images, links, and lists on the web page using the text. 

Syntax: <p> some text</p>

Attributes:- An Attribute is the property that provides additional information about an HTML element. It enhances the functionality of a tag. An attribute is always specified inside the opening tag.

<Hr width= 50% > , here width is an attribute.



Q.3 What is an elements ? Explain its various types ? 

Element:- An HTML element is a set of an on tag and off tag. The HTML elements can be categorised as:

1. Container Elements

2. Empty  Elements

Container Elements:- 

The elements that include both on and off tags are called container elements. For example, the <b> tag.

Empty Elements :- Empty elements have only on tags. They do not have off tags. These elements do not enclose any data; instead they perform some function on their own.

For example, the <br> tag.


Q.4     How are comments useful?  What are two ways in which you can add comments ? 

Ans:-  Sometimes, you want to write notes for yourself in an HTML document, but do not want them to be displayed in the browser window. In such a case, you need to use the Comment tag. You can add a comment in a web page in any of the following ways:

<!-- Learning HTML is great fun --> Or

<comment> Learning HTML is great fun </comment>

Q.5     What are Cascading style sheets ?  Write its benefits .

Ans:- CSS is a style sheet that provides a set of style rules for defining the layout of the HTML documents. Using CSS, you can control the colour of the text, style of fonts, spacing between paragraphs, size, and layout of columns, background images as well as a variety of the other effects.

The main benefits of CSS include the following:

1. Control layout of many documents from one single style sheet (External Style Sheet)

2. More precise control of layout

3. Apply different layout to different media types (screen, print, etc.)

4. More advanced options and sophisticated techniques

Q.6  Name any two text properties that can be applied in CSS. Give the syntax. 

Ans:- HTML allows you to set the text style with the help of the following properties:

    1.   Color.        2. Font.           3.Size

Text Color:-

This property is used to set the colour of the text.

Syntax:             color: value where value = color/RGB color code

For example:     <p style="color:red"> This is a paragraph. </p>

                         <p style="color:blue">This is another paragraph. </p>

Text Font:- 

This property is used to set the font of the text.

Syntax:    font-family: value

                where value = name of font

    For example: <p style="font-family: Verdana">This is a paragraph. </p>

                            <p style="font-family:"Courier New"> This is another paragraph.  </p>




For Chapter -9 Click on it  :- Click me

3 Comments

Sir me vaishnavi sir Chapter 8 ka last Ques nahi mil raha ha to kya se kare

Chapter 8th's last question, page-119 and 120 pr hai . Text color and text font

Please check and write it before 23 January

Please ask any question about gk related

back to top