For Quiz Preparation for TGES ,Go to General Knowledge Section

Featured Post

GK Class -6 Unit -4

Tuesday, September 9

Class 7th Computer Chapter -5 (Images, Links, and Frames in HTML5)

 Chapter 5: Images, Links, and Frames in HTML5

Checkpoint (Pg. 81)

Write T for True and F for False.

1. T

2. T

3. T

4. T

Exercises (Pgs. 89-91)

A. Tick (✓) the correct answers.

1. b

2. a

3. c

4. c

5. c

B. Fill in the blanks.

1. source

2. float

3. hyperlinks

4. link

5. Controls

C. Write T for True and F For False.

1. F

2. F

3. F

4. T

5. T

D. Answer the following questions.

Q.1    What is the purpose of the <img> tag in HTML ? Which attribute in the <img> tag specifies the location of the image ? 

Ans:-    Purpose: The <img> tag in HTML is used to display images on a webpage. It allows you to embed images such as photos, graphics, and icons.

Attribute:- The src attribute specifies the location of the image. This attribute contains the URL or file path to the image file.


Q.2    Differential between inline images and external images in HTML ? 

Ans:-  Inline Images :- Inline images use the <img> tag to embed visuals directly into webpage content. They load with the page, appearing alongside text to enhance layout, readability, and visual engagement.

External Images : - External images are linked using the <a> tag. They aren’t shown directly on the page but open separately when clicked, reducing page load and pulling content from external sources.


Q.3    What is the use of float property in CSS ? 

Ans:-    The align attribute is deprecated in HTML5. The float property determines whether an image should be positioned to the left, right, or remain in its default position without floating. This helps you to create a clean, organised layout by allowing text to flow around the image.


Q.4    Write the code to insert audio into your webpage.

Ans:-     Code to insert audio into a webpage :- 

                <html>

                <head>

                <Title> Audio Controls </Title>

                </head>

                <Body>

                <audio controls>

                <source src="audio_song.mp3" type=audio/mp3">

                </audio>

                </body>

                </html> 


Q.5    What is the purpose of the <iframe> tag, and how does it improve the user experience on a webpage ? 

Ans:-    The <iframe> tag is used to embed another HTML document (or external content) within the current page. This can include other webpages, videos, maps, or interactive content.

It improves user experience in the following ways:

• It allows seamless integration of external content without navigating away from the current page.

• It improves usability by enabling embedded content (e.g., videos from YouTube, Google Maps). 



No comments:
Write Comments

Please ask any question about gk related

Total Pageviews

Popular Posts

© 2014 SSC GK.in . Designed by Bloggertheme9 | Distributed By Gooyaabi Templates
Powered by Blogger.