HTML5 Flashcards

1
Q

_____ attribute is used to specify where to open the linked document.

A target

B coords

C rel

D none of the above

A

A target

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which *anchor* attribute is used to specify the language of the linked document ?

A alang

B lang

C hreflang

D all the above

A

C hreflang

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Relationship between the current document and the linked document is specified using the _____ attribute.

A relation

B rel

C href

D target

A

B rel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following is incorrect value provided to “rel” attribute of the anchor tag ?

A previous

B help

C Bookmark

D none of the above

A

A previous

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How to open the document in new window with anchor tag?

A

target = “_blank”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The _____ attribute is used to specify MIME type of the linked document ?

A MIME

B Type

C Media

D none of the above

A

B Type

type=”application/json” …

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The _____ attribute specifies what media/device the linked document is optimized for ?

A media

B device

C name

D href

A

A media

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The default attribute value of “target” is _____ in HTML.

A _self

B _parent

C _top

D _blank

A

_self

_blank Opens the linked document in a new window or tab

_self Opens the linked document in the same frame as it was clicked (this is default)

_parent Opens the linked document in the parent frame

_top Opens the linked document in the full body of the window

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

For showing heading in HTML web page we use _____ tag.

A Article

B Strong

C Heading

D Bold

A

C Heading

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of the following Styles is applied to the H1 heading by default.

A Bold

B Underline

C Bold and Underline

D none of the above

A

A Bold

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

_____ automatically adds some empty space before and after each heading.

A Compiler

B Server

C Browser

D Interpreter

A

C Browser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Browsers automatically add a/an _____ before and after a paragraph.

A empty space

B empty line

C horizontal line

D none of the above

A

B empty line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

The align attribute of paragraph tag in HTML is no longer supported in:

A HTML3.2

B HTML2.0

C HTML5

D HTML4

A

C HTML5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Who was the primary author of HTML ?

A Brendan Eich

B Tim Berners-Lee

C Google Inc.

D Sabeer Bhatiya

A

B Tim Berners-Lee

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

HTML was firstly proposed in year

A 1995

B 1997

C 1976

D 1990

A

D 1990

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Anchor Link URL in HTML is specified using _____ attribute.

A src

B link

C rel

D href

A

D href

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Link in HTML can be of following type(s).

A Active

B Visited

C Unvisited

D all the above

A

D all the above

Active

Visited

Unvisited

18
Q

Default style and color of unvisited link in any browser is

A Normal and Blue

B Underlined and Blue

C Underline and Red

D Underline and Pink

A

B Underlined and Blue

19
Q

Visited link in Mozilla Firefox is generally shown in _____ color.

A Purple

B Red

C Blue

D Black

A

A Purple

20
Q

Which of the following attribute(s) cannot be present if the href attribute is not present ?

A target

B rel

C hreflang

D all the above

A

D all the above

target

rel

hreflang

21
Q

A linked page using the anchor tag is normally displayed in the

A Current Window

B New Window

C New Tab

D Current Tab

A

A Current Window

22
Q

If we need to send the email then href attribute of the anchor tag starts with _____ keyword.

A mail

B mailto

C email

D send

A

B mailto

23
Q

Value of attribute “href” is also called the _____ of the destination web page.

A URL

B URI

C URG

D none of the above

A

A URL

24
Q

URL in HTML stands for

A Uniform Resource Locator

B Universal Resource Locator

C Uniform Resource Location

D Uni Resource Locator

A

A Uniform Resource Locator

25
Q

We can include the default subject heading and body text by passing the query parameter(s) separated by the _____ symbol.

A Question Mark

B Colon

C Comma

D Ampersand

A

D Ampersand

26
Q

If the image cannot be displayed then the _____ attribute specifies an alternate text for an image.

A alt

B text

C value

D caption

A

A alt

27
Q

The default color of the active link in browser is

A green

B red

C blue

D black

A

B red

28
Q

Fundamental blocks in HTML are called as

A HTML Attribute

B HTML Tag

C HTML Body

D HTML Element

A

B HTML Tag

29
Q

The _____ attribute is used to display an image ?

A source

B srs

C sr

D src

A

D src

30
Q

Which of the following pair of attribute is required for the img tag ?

A img and src

B img and alt

C src and alt

A

C src and alt

src points to the image file and
alt has text to display if the image cannot be rendered

31
Q

The alt attribute is more useful in that situation when user has:

A High Speed Internet Connection

B Slow Internet Connection

C Broadband Connection

D none of the above

A

B Slow Internet Connection

32
Q

How to define clickable area in an image map ?

A

<map><br></br> <area></area>
<br></br> <area></area>
<br></br> <area></area>
<br></br></map>

33
Q

Which of the anchor attribute is used to specify the language of the linked document ?

A alang

B lang

C hreflang

D all the above

A

C hreflang

specifies the language of the document in the link target

34
Q

Relationship between the current document and the linked document is specified using the _____ attribute.

A relation

B rel

C href

D target

A

B rel

alternate Provides a link to an alternate representation of the document (i.e. print page, translated or mirror)

author Provides a link to the author of the document

bookmark Permanent URL used for bookmarking

external Indicates that the referenced document is not part of the same site as the current document

help Provides a link to a help document

license Provides a link to licensing information for the document

next Provides a link to the next document in the series

nofollow Links to an unendorsed document, like a paid link.
(“nofollow” is used by Google, to specify that the Google search spider should not follow that link)

noreferrer Requires that the browser should not send an HTTP referer header if the user follows the hyperlink

noopener Requires that any browsing context created by following the hyperlink must not have an opener browsing context

prev The previous document in a selection

search Links to a search tool for the document

tag A tag (keyword) for the current document

35
Q

Which of the following is incorrect value provided to “rel” attribute of the anchor tag ?

A previous

B help

C Bookmark

D none of the above

A

A previous

36
Q

Which anchor target value is used to open the document in new window ?

_blank

_self

_parent

_top

A

_blank

_blank Opens the linked document in a new window or tab

_self Opens the linked document in the same frame as it was clicked (this is default)

_parent Opens the linked document in the parent frame

_top Opens the linked document in the full body of the window

37
Q

The _____ attribute specifies what media/device the linked document is optimized for ?

A media

B device

C name

D href

A

A media

38
Q

Which of the following Styles is applied to the H1 heading by default.

A Bold

B Underline

C Bold and Underline

D none of the above

A

A Bold

39
Q

_____ automatically add some empty space before and after each heading.

A Compiler

B Server

C Browser

D Interpreter

A

A Browser

40
Q

Browsers automatically adds an _____ before and after a paragraph.

A empty space

B empty line

C horizontal line

D none of the above

A

B empty line