HTML Elements Flashcards

1
Q

what are html tags

A

codes inside angle brackets that tell the browser how to format and arrange text

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

what two types of html tags are there

A

opening and closing tags

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

what are two sided html tags

A

tags that enclose text between an opening and closing tag

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

what differentiates an opening and closing tag

A

a forward slash (/)

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

what are html elements

A

tags that define the content in web pages

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

html element: b

A

represents a span of text stylistically different from normal text, without conveying any special importance or relevance

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

html element: img

A

represents an image in the web page

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

html element: a

A

defines a hyperlink to a location on the same page or any other page on the Web

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

html element: html

A

represents the root of an HTML document

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

html element: body

A

represents the content of an HTML document

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

html element: head

A

provides metadata about the document

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

html element: p

A

represents a paragraph of text

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

html element: h1

A

a level 1 heading

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

html element: h2

A

a level 2 heading

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

html element: h3

A

a level 3 heading

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

html element: h4

A

a level 4 heading

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

html element: h5

A

a level 5 heading

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

html element: h6

A

a level 6 heading

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

html element: title

A

defines the title of the document

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

html element: DOCTYPE

A

informs the browser which html version the document uses

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

html element: link

A

specifies relationships between the current document and an external resource

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

html element: meta

A

represents metadata information

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

html element: script

A

used to embed or reference an executable script within an html document

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

html element: br

A

produces a line break in text

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

html element: pre

A

represents pre-formatted text

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

what two types of html elements are there

A

block level elements and inline level elements

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

html element: div

A

represents a generic block of content

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

html element: header

A

represents a group of introductory or navigational aids

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

html element: nav

A

represents a section of a page with navigational links

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

html element: section

A

represents a generic section of a document

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

html element: article

A

represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable (e.g., in syndication)

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

html element: hr

A

represents a thematic break between paragraph-level elements

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

html element: blockquote

A

indicates that the enclosed text is an extended quotation

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

html element: aside

A

represents a section of the page with content connected tangentially to the rest, which could be considered separate from that content

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

html element: footer

A

represents a footer for its nearest sectioning content or sectioning root element

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

html element: address

A

supplies contact information for its nearest article or body ancestor

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

html element: ul

A

represents an unordered list of items

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

html element: li

A

represents an item in a list

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

html element: ol

A

represents an ordered list of items

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

html element: dl

A

encloses a list of pairs of terms and descriptions

41
Q

html element: dt

A

identifies a term in a definition list

42
Q

html element: dd

A

indicates the description of a term in a description list

43
Q

html element: figure

A

represents self-contained content, frequently with a caption (figcaption), and is typically referenced as a single unit

44
Q

html element: figcaption

A

represents a caption or a legend associated with a figure or an illustration described by the rest of the data of the figure element

45
Q

html element: em

A

marks text that has stress emphasis

46
Q

html element: strong

A

gives text strong importance

47
Q

html element: span

A

generic inline container for phrasing content, which does not inherently represent anything

48
Q

html element: style

A

contains style information for a document, or part of a document

49
Q

where should the DOCTYPE element be placed

A

at the beginning of the document before any other tag

50
Q

html element: sup

A

defines a span of text that should be displayed, for typographic reasons, higher, and often smaller, than the main span of text

51
Q

html element: sub

A

defines a span of text that should be displayed, for typographic reasons, lower, and often smaller, than the main span of text

52
Q

html element: kbd

A

represents user input

53
Q

html element: code

A

represents a fragment of computer code

54
Q

html element: samp

A

represents sample output from a computer program

55
Q

html element: q

A

indicates that the enclosed text is a short inline quotation

56
Q

html element: abbr

A

represents an abbreviation and optionally provides a full description for it

57
Q

html element: cite

A

represents a reference to a creative work

58
Q

html element: dfn

A

represents the defining instance of a term

59
Q

html element: i

A

represents a range of text that is set off from the normal text

60
Q

html element: small

A

represent side-comments and small print, including copyright and legal text

61
Q

html element: time

A

represents either a time on a 24-hour clock or a precise date

62
Q

html element: mark

A

represents highlighted text

63
Q

html element: ins

A

represents a range of text that has been added to a document

64
Q

html element: del

A

represents a range of text that has been deleted from a document

65
Q

html element: base

A

specifies the base URL to use for all relative URLs contained within a document

66
Q

html element: iframe

A

represents a nested browsing context, effectively embedding another HTML page into the current page

67
Q

html element: video

A

embeds video content in a document

68
Q

html element: audio

A

embeds sound content in documents

69
Q

html element: object

A

represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin

70
Q

html element: param

A

defines parameters for the object element

71
Q

html element: embed

A

represents an integration point for an external application or interactive content

72
Q

html element: source

A

specifies multiple media resources for either the picture, the audio or the video element

73
Q

html element: s

A

represents content that is no longer relevant or no longer accurate

74
Q

html element: table

A

represents tabular data

75
Q

html element: tr

A

defines a row of cells in a table

76
Q

html element: td

A

defines a cell of a table that contains data

77
Q

html element: th

A

defines a cell as header of a group of table cells

78
Q

html element: thead

A

defines a set of rows defining the head of the columns of the table

79
Q

html element: tbody

A

defines one or more tr element data-rows to be the body of its parent table element

80
Q

html element: tfoot

A

defines a set of rows summarizing the columns of the table

81
Q

html element: caption

A

represents the title of a table

82
Q

html element: var

A

represents a variable in a mathematical expression or a programming context

83
Q

html element: form

A

represents a document section that contains interactive controls to submit information to a web server

84
Q

html element: input

A

used to create interactive controls for web-based forms in order to accept data from the user

85
Q

html element: textarea

A

represents a multi-line plain-text editing control

86
Q

html element: select

A

represents a control that presents a menu of options

87
Q

html element: option

A

used to create a control representing an item within a select, an optgroup or a datalist

88
Q

html element: optgroup

A

creates a grouping of options within a select element

89
Q

html element: button

A

represents a clickable button

90
Q

html element: label

A

represents a caption for an item in a user interface

91
Q

html element: fieldset

A

used to group several controls as well as labels within a web form

92
Q

html element: legend

A

represents a caption for the content of its parent fieldset

93
Q

html element: colgroup

A

defines a group of columns within a table

94
Q

html element: col

A

defines a column within a table

95
Q

html element: meter

A

represents either a scalar value within a known range or a fractional value

96
Q

html element: progress

A

represents the completion progress of a task, typically displayed as a progress bar

97
Q

what are block level elements

A

elements that begin on a new line, stacking one on top of the other, and occupy any available width

98
Q

what are inline level elements

A

elements that do not begin on a new line. They fall into the normal flow of a document, lining up one after the other, and only maintain the width of their content