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
html element: pre
represents pre-formatted text
26
what two types of html elements are there
block level elements and inline level elements
27
html element: div
represents a generic block of content
28
html element: header
represents a group of introductory or navigational aids
29
html element: nav
represents a section of a page with navigational links
30
html element: section
represents a generic section of a document
31
html element: article
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)
32
html element: hr
represents a thematic break between paragraph-level elements
33
html element: blockquote
indicates that the enclosed text is an extended quotation
34
html element: aside
represents a section of the page with content connected tangentially to the rest, which could be considered separate from that content
35
html element: footer
represents a footer for its nearest sectioning content or sectioning root element
36
html element: address
supplies contact information for its nearest article or body ancestor
37
html element: ul
represents an unordered list of items
38
html element: li
represents an item in a list
39
html element: ol
represents an ordered list of items
40
html element: dl
encloses a list of pairs of terms and descriptions
41
html element: dt
identifies a term in a definition list
42
html element: dd
indicates the description of a term in a description list
43
html element: figure
represents self-contained content, frequently with a caption (figcaption), and is typically referenced as a single unit
44
html element: figcaption
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
html element: em
marks text that has stress emphasis
46
html element: strong
gives text strong importance
47
html element: span
generic inline container for phrasing content, which does not inherently represent anything
48
html element: style
contains style information for a document, or part of a document
49
where should the DOCTYPE element be placed
at the beginning of the document before any other tag
50
html element: sup
defines a span of text that should be displayed, for typographic reasons, higher, and often smaller, than the main span of text
51
html element: sub
defines a span of text that should be displayed, for typographic reasons, lower, and often smaller, than the main span of text
52
html element: kbd
represents user input
53
html element: code
represents a fragment of computer code
54
html element: samp
represents sample output from a computer program
55
html element: q
indicates that the enclosed text is a short inline quotation
56
html element: abbr
represents an abbreviation and optionally provides a full description for it
57
html element: cite
represents a reference to a creative work
58
html element: dfn
represents the defining instance of a term
59
html element: i
represents a range of text that is set off from the normal text
60
html element: small
represent side-comments and small print, including copyright and legal text
61
html element: time
represents either a time on a 24-hour clock or a precise date
62
html element: mark
represents highlighted text
63
html element: ins
represents a range of text that has been added to a document
64
html element: del
represents a range of text that has been deleted from a document
65
html element: base
specifies the base URL to use for all relative URLs contained within a document
66
html element: iframe
represents a nested browsing context, effectively embedding another HTML page into the current page
67
html element: video
embeds video content in a document
68
html element: audio
embeds sound content in documents
69
html element: object
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
html element: param
defines parameters for the object element
71
html element: embed
represents an integration point for an external application or interactive content
72
html element: source
specifies multiple media resources for either the picture, the audio or the video element
73
html element: s
represents content that is no longer relevant or no longer accurate
74
html element: table
represents tabular data
75
html element: tr
defines a row of cells in a table
76
html element: td
defines a cell of a table that contains data
77
html element: th
defines a cell as header of a group of table cells
78
html element: thead
defines a set of rows defining the head of the columns of the table
79
html element: tbody
defines one or more tr element data-rows to be the body of its parent table element
80
html element: tfoot
defines a set of rows summarizing the columns of the table
81
html element: caption
represents the title of a table
82
html element: var
represents a variable in a mathematical expression or a programming context
83
html element: form
represents a document section that contains interactive controls to submit information to a web server
84
html element: input
used to create interactive controls for web-based forms in order to accept data from the user
85
html element: textarea
represents a multi-line plain-text editing control
86
html element: select
represents a control that presents a menu of options
87
html element: option
used to create a control representing an item within a select, an optgroup or a datalist
88
html element: optgroup
creates a grouping of options within a select element
89
html element: button
represents a clickable button
90
html element: label
represents a caption for an item in a user interface
91
html element: fieldset
used to group several controls as well as labels within a web form
92
html element: legend
represents a caption for the content of its parent fieldset
93
html element: colgroup
defines a group of columns within a table
94
html element: col
defines a column within a table
95
html element: meter
represents either a scalar value within a known range or a fractional value
96
html element: progress
represents the completion progress of a task, typically displayed as a progress bar
97
what are block level elements
elements that begin on a new line, stacking one on top of the other, and occupy any available width
98
what are inline level elements
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