Search Header Logo
CSE 309- HTML summer2024

CSE 309- HTML summer2024

Assessment

Presentation

Computers

University

Medium

Created by

Dr. Rahman

Used 8+ times

FREE Resource

94 Slides • 28 Questions

1

Unveiling the Magic of
HTML
Building Blocks of the Web






02/06/24
Dr. Farzana Rahman
Assistant Professor

2

media

3

media

4

  • HTML (HyperText Markup Language) is the foundation of web pages.

  • Defines the structure and content of web pages, not their appearance.

  • Used by web browsers to understand and render web pages.

  • Easy to learn and use, forming the core of web development.

5

Multiple Select

HTML is

1

programming language

2

annotating document with tags

3

unstructured set of instruction

4

hypertext linking

6

Multiple Choice

Which statement is true about HTML?

1
  • a) HTML defines the appearance of web pages.

2
  • b) HTML is difficult to learn and use.

3
  • c) HTML is used by web browsers to understand and render web pages.

4

d) HTML is not essential for web development.

7

media

8

media

9

media

10

media

11

media

12

media

13

media

14

media
media

Chrome

15

media

16

media
media

Viewport

17

media

18

media

19

media

20

media

21

media

22

media

23

Multiple Select

(Select the correct options. There can be more than one correct options)

What Combines HTML, CSS, JavaScript, & multimedia into

formatted webpages?

1

web browser engine

2

compiler

engine

3

rendering engine

4

programming

engine

24

Multiple Choice

which one is rendering engine?

1

css

2

html

3

Gecko

4

Chrome

25

media

26

media

27

media

28

media

29

Multiple Select

What is webpage?

1

txt file with .htm at end

2

txt file with .html at end

3

program file with .html at end

4

program file with .htm at end

30

Multiple Choice

which one is wrong?

1

classINFO.html

2

class info.html

3

class_info.html

4

Classinfo.html

31

media

32

media

33

media

34

media

35

media

36

Multiple Select

(Select the correct options. There can be more than one correct options)

which tag refers html start and end ?

1

<htmp>

</htmp>

2

<html> </html>

3

<hml>

</hml>

4

<http>

</http>

37

media

38

media

39

Multiple Select

(Select the correct options. There can be more than one correct options)

What should be defined inside the <head> tag?

1

body of the document

2

metadata for browser

3

css file link

4

size of a document

40

Multiple Select

(Select the correct options. There can be more than one correct options)

why <br> tag is used?

1

double sapce

2

line break

3

no space

4

single space

41

media

42

media

43

media

44

media

45

Multiple Choice

(Select the correct options. There can be more than one correct options)

which one is attribute in the statement bellow?

<h1 align="center">

1

align

2

h1

3

center

4

=

46

Multiple Choice

(Select the correct options. There can be more than one correct options)

how many attribute-value pair can be placed in an opening tag?

1

only one

2

two

3

three

4

multiple

47

Ordered Lists: Keeping Things in Order

  • Ordered lists, denoted by the <ol> tag, present items in a specific sequence.

  • Each item within the list is enclosed in the <li> tag.

  • Numbers are automatically generated by the browser, providing a visual order.

  • Use ordered lists for sequential steps, instructions, timelines, or numbered rankings.

48

Hyperlinks: Connecting Your Webpage

  • Hyperlinks, created with the <a> tag, establish connections between web pages or resources.

  • The href attribute within the <a> tag specifies the URL of the linked resource.

  • Clicking on the hyperlink (often displayed as underlined text) navigates the user to the linked location.

  • Hyperlinks allow you to create a web of interconnected information, promoting user exploration and engagement.

49

Embedding Images: Visualizing Your Webpage

  • Images add visual appeal and enhance the user experience of webpages.

  • The <img> tag is used to embed images into an HTML document.

  • The src attribute within the <img> tag specifies the path or URL of the image file.

  • The alt attribute provides alternative text, displayed if the image fails to load or for screen readers.

50

Multiple Choice

Which element is used to define a list item in an ordered list?


1
  • a) <ul>

2
  • b) <li>

3

  • c) <ol>

4

d) <list>

51

Multiple Choice

Which tag is used to create a hyperlink in HTML?

1
  • a) <a>

2
  • b) <link>

3
  • c) <href>

4

d) <hyper>

52

Multiple Choice

  1. What attribute is used to specify the URL of a linked resource?

1
  • a) src

2
  • b) url

3
  • c) href

4

d) link

53

Multiple Choice

Which element is used to embed an image in an HTML page?

1
  • a) <img>

2
  • b) <picture>

3
  • c) <image>

4

d) <src>

54

Multiple Choice

What attribute is required in the <img> tag to specify the path to the image?


1
  • a) href

2
  • b) src

3
  • c) link

4

d) path

55

Building Tables in HTML: The Power of Structure

  • Tables create a structured layout for presenting data in rows and columns.

  • Enhance readability and organization of complex information.

  • Ideal for displaying product catalogs, financial data, schedules, or comparison charts.

56

Table Headings and Rows

  • <table> tag marks the beginning of the table structure.

  • <tr> tag defines a table row.

  • <th> tag creates table headers (bold and often visually distinct).

  • <td> tag defines a table data cell.

  • Headers (in <th> tags) provide labels for each column, enhancing understanding.

57

Multiple Choice

Which tag is used to create a table row in HTML?

1
  • a) <td>

2
  • b) <table>

3
  • c) <tr>

4

d) <th>

58

Multiple Choice

What does the <th> tag define in an HTML table?

1
  • a) Table heading

2
  • b) Table row

3
  • c) Table data

4

d) Table footer

59

media

60

media

61

media

62

media

63

Multiple Choice

What is DTD?

(you can select multiple answer)

1

Document type duration

2

Document

to definition

3

Document typeset definition

4

Document type definition

64

Multiple Select

What is the work of DTD?

(you can select multiple answer)

1

Select HTML version

2

Select rendering mode

3

Select quirks mode when needed

4

Select standard mode when needed

65

Inline-Block Elements

  • Inline-block elements share characteristics of both block and inline elements.

  • They behave like inline elements in terms of text flow but can have width and height set.

  • Examples include images (<img>) and buttons (<button>).

  • They offer more flexibility in layout and positioning compared to pure inline elements.

66

media

67

media

68

media

69

media

70

media

71

media

72

media

73

media

74

media

75

media

76

media

77

media

78

media

79

Multiple Choice

Fill in the blank

Character encoding tells____ what language it should use.

1

web server

2

user

3

rendering engine

4

HTTP

80

Multiple Choice

Which character encoding is most commonly used?

1

ASCII

2

ISO-8859

3

Windows-1232

4

UTF-8

81

Multiple Select

Select the right options

UTF 8 is

1
  • 8 bit unicode

2

Standard character encoding

3

very rarely used

4

most common encoding for html

82

media

83

media

84

media

85

media

86

media

87

media

88

media

89

media

90

Multiple Choice

How many method to set character encoding?

1

one

2

two

3

three

4

four

91

Multiple Choice

The <meta> element for character encoding is set as-

1

first element in <body>

2

last element in <head>

3

first element on <h1>

4

first element in <head>

92

media

93

media

94

media

95

media

Web servers are computers that run web server
software

Web servers are pretty simple: they get requests, & they
respond

96

media
media

97

media

It looked the same, even when the code was “wrong”

Why? Because rendering engines “fix” your errors as
best they can

Is that a license to be sloppy or careless? No!

98

media

99

media

100

media

101

Multiple Select

Most common web servers are-

1

Apache

2

IIS

3

Nginx

4

Internet information service

102

media

103

media

104

media

105

Multiple Choice

which one is right?

1

web server sends request and web browser response

2

HTTP sends request and web browser accept

3

Web server get request from web browser and response to it

4

HTTP gets request from web browser and send to web server

106

media

107

media

108

media

109

media

110

media

111

media

112

media

113

Multiple Select

select right answers?

1

we can use multiline comment in html

2

only single line comment is possible in html

3

HTML commenting is useful for documentation

4

we should avoid commenting in HTML file

114

media

115

media

116

media

117

media

118

media

119

media

120

media

121

media

122

media

Unveiling the Magic of
HTML
Building Blocks of the Web






02/06/24
Dr. Farzana Rahman
Assistant Professor

Show answer

Auto Play

Slide 1 / 122

SLIDE