PowerPoint Presentation

Published on Slideshow
Static slideshow
Download PDF version
Download PDF version
Embed video
Share video
Ask about this video

Scene 1 (0s)

CLASS- VIII SUBJECT: COMPUTER SCIENCE CHAPTER – 6 WORKING WITH HTML DATE: 26-10-21.

Scene 2 (8s)

LEARNING OUTCOMES. To create text in proper format by using different tags and attributes discussed. To understand the types of lists and it’s attributes. To appreciate the use of images in designing webpage..

Scene 3 (21s)

LISTS IN HTML. Sometimes, we are in hurry and do not like to read a lot of text. So, putting important information in the form of a list seems to be helpful. HTML supports several elements for making lists..

Scene 4 (35s)

<UL>. <OL>. LISTS IN HTML. <DL>. Lists can be divided into different types :.

Scene 5 (43s)

HTML UNORDERED LIST <UL> TAG.

Scene 6 (50s)

You can use TYPE attribute for <UL> tag to specify the type of bullet you like. By default, it is a disc . Following are the possible options −.

Scene 7 (1m 13s)

<UL> TAG - TYPE ATTRIBUTE. OUTPUT. CODE. Unordered List Chocolate Cake Black Forest Cake Pineapple Cake o.

Scene 8 (1m 28s)

2. HTML ORDERED LIST <OL> TAG.

Scene 9 (1m 35s)

You can use TYPE attribute for <OL> TAG to specify the type of numbering you like. By default, it is a number . Following are the possible options −.

Scene 10 (1m 57s)

TYPE ATTRIBUTE OF <OL> TAG. OUTPUT. CODE. Example Following is an example where we used < ol type = "I">.

Scene 11 (2m 17s)

<OL> TAG - START ATTRIBUTE. You can use START attribute for <OL> TAG to specify the starting point of numbering you need. Following are the possible options −.

Scene 12 (2m 36s)

OUTPUT. CODE. Example: Following is an example where we used < ol type = " i " start = "4" >.

Scene 13 (2m 55s)

3. HTML DEFINITION/DESCRIPTION LIST <DL> TAG.

Scene 14 (3m 3s)

Definition List makes use of following three tags. <dl> − Defines the start of the list <dt> − Defines the Term <dd> − Defines the Description of the term </dl> − Defines the end of the list.

Scene 15 (3m 24s)

HTML DEFINITION LIST EXAMPLE:. OUTPUT. CODE. html> (head) Definition <dd>This stands for Hyper Text Markup Language</dd> <dd>This stands for Hyper Text Transfer </hdp 'html>.

Scene 16 (3m 37s)

HTML IMAGES <IMG> TAG.

Scene 17 (3m 44s)

HTML IMAGES Images are very important to beautify as well as to depict many complex concepts in simple way on your web page. This session will take you through simple steps to use images in your web pages..

Scene 18 (3m 59s)

The < img > tag is an empty tag, which means that, it can contain only list of attributes and it has no closing tag ..

Scene 19 (4m 17s)

EXAMPLE: To try following example, let's keep our HTML file and image file GLOBE.JPG in the same directory −.

Scene 20 (4m 28s)

Case-1 If you have saved “Globe.jpg” in “Documents” folder, then the address would be: < img src = “C:\My documents\My Pictures\Globe.jpg”>.

Scene 21 (4m 47s)

HTML IMAGE- SRC. Case2 If you have saved “Globe.jpg” in the same folder as the HTML document, then the address would be: < img src = “Globe.jpg”>.

Scene 22 (4m 58s)

HTML IMAGE- SRC. Case3 If “Globe.jpg” is not in your computer but is saved in folder ‘images’ of the Web server of yahoo, then the address would be < img src = “http://www.yahoo.com/images/globe.jpg ” >.

Scene 23 (5m 14s)

OTHER ATTRIBUTES OF <IMG> TAG. S.NO. Attribute Description 1 alt The alt attribute provides an alternate text for an image, if the user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader). 2 Height Defines the height of the image. 3 Width Defines the width of the image. 4 Border Defines the width of the border around the image 5 align Defines the alignment of the image in reference to surrounding elements. Values: left, right, top , bottom, middle 6 bordercolor Defines the Colour of border around the image.

Scene 24 (5m 41s)

ALT ATTRIBUTE OF <IMG> TAG. alt The alt attribute provides an alternate text for an image, if the user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader)..

Scene 25 (5m 56s)

LIST TO INSERT AN IMAGE - WIDTH AS 2m PIXELS <IMG WIDTH = TO INSERT AN IMAGE - WIDTH AS <IMG WIDTH = 40.

Scene 26 (6m 17s)

Set Image Border By default, image will have a border around it, you can specify border thickness in terms of pixels using border attribute. A thickness of 0 means , no border around the picture..

Scene 27 (6m 30s)

HTML. Set Image Alignment By default, image will align at the left side of the page, but you can use align attribute to set it in the right,top,middle and bottom and center tag to make it in the center ..

Scene 28 (6m 45s)

RECAPITULATION. In <OL> and <UL> list, the style of bullet or number is defined by.

Scene 29 (6m 59s)

To start a list at the count of 3, which statement is correct?.

Scene 30 (7m 11s)

A thickness of _____ means, no border around the picture..

Scene 31 (7m 22s)

Image can be inserted in the web page by using _______tag..

Scene 32 (7m 34s)

The ____ attribute provides an alternate text for an image, if the user for some reason cannot view it ..

Scene 33 (7m 46s)

HOME ASSIGNMENT. Write the HTML code to design the below shown web page considering the specifications as given below:.