Skip to main content

Class-8th Ch-5 Graphics in HTML

 

1.  Write the short note on HTML tags and their attributes.

Ans: Tags: HTML tags are used to define the structure and content of web pages. They are surrounded by angle brackets (< >) and usually come in pairs, with the opening tag preceding the content and the closing tag following the content.

       Attributes: HTML attributes provide additional information about an element. They are added to the opening tag

         and consist of a name and value pair.                                                                   

Example: <font size=20>This is a paragraph. </font>

 

2.  What is the use of IMG and SRC, which add an image in the web page?

Ans: IMG Tag: The IMG tag is used to add an image to a web page. It is a self-closing tag, meaning it does not require a separate closing tag.

SRC Attribute: The SRC attribute is used within the IMG tag to specify the source of the image file. It defines the URL or path to the image file.

Example:  <img src= “image.jpg”>

 

3.  Differentiate between alternative text and image label.

Ans: Alternative text, also known as alt text / placeholder text,

is a text description of an image that is displayed when: The

image cannot be loaded or Screen readers are used

Image Label

An image label, on the other hand, is a text description or caption that is displayed near or below the image. It provides additional context or information about the image.

 

4.   What is the use of horizontal line?

Ans: Horizontal Line Tag: The <HR> tag is used to create a horizontal line in an HTML document. It is often used to:

a)   Separate the content.

b)  Create visual breaks.

c)   Improve readability.

 

5.  What are the advantages of links in the web pages?

Ans: Advantages of links in Web Pages are as follows:

a)  Navigation: Links enable users to navigate between web pages, websites or sections within a page.

b) Information discovery: Links provide access to additional information, resources or related content.

c)  User experience: Links can improve the user experience by allowing users to easily find and access relevant information.

 

 

Comments

Popular posts from this blog

Class-7th Ch-2 More about computer

  1.     Write down the names of two things managed by libraries in windows 10. Ans: Two things managed by libraries in Windows 10 are: a) Documents         b) Pictures          c) Music   2.     Describe three options for viewing the files or folder and the options to arrange them in different styles. Ans: Viewing Options 1 . List: Displays files and folders in a simple list format, showing only the name and a small icon. 2. Details: Displays files and folders in a detailed list format, showing additional information such as file size, date modified, and type. 3. Tiles: Displays files and folders as large icons or tiles, providing a visual representation of the file type. Arrangement Options To arrange files and folders in different styles, you can use the following options:      1 . Name: Arrange files and folders alphabet...

Class-7th Ch-7 More about Flash CS6

  1.   How can we rename a layer? Ans: To rename a layer in Flash CS6, follow these steps: 1. Select the layer 2. Double-click the layer name 3. Type the new name and Press Enter                                                    OR 1. Right-click on the layer. 2. Selecting "Properties”. 3. Enter the new name 4. Click "OK".   2.   What is the use of masking? Ans: Mask layer is used to create spotlight effect. It provides a hole through which we can see the content of the layer.   3. What are the types of Gradients? Name them. Ans: In Flash, there are two main types of gradients: a.   Linear Gradient: A linear gradient is a transition of colors along a straight line. b.   Radial Gradient: A radial gradient is a transition of colors that radiates ...