MODULE 2 Flashcards

(35 cards)

1
Q

HTML stands for ___,
and it is the most widely used language to
write/create Web Pages.

A

Hypertext Markup Language

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

___ refers to the way in which Web pages
(HTML documents) are linked together. Thus, it is the link available on a webpage.

A

Hypertext

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

HTML is a ___ which means you
use HTML to simply “mark-up” a text document
with tags that tell a Web browser how to
structure it to display.

A

Markup Language

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

___ was developed with the
intent of defining the structure
of documents like headings,
paragraphs, lists, and so forth to
facilitate the sharing of scientific
information between researchers.

A

HTML

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

___ is being widely used to
format web pages with the help
of different tags available in
HTML language.

A

HTML

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

HTML also has ___ levels of headings, which
use the elements <h1>, <h2>, <h3>, <h4>,

<h5>, and <h6>. While displaying any heading,
browser adds one line before and one line
after that heading.
</h6></h5>

A

Six

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

The ___ tag offers a way to structure your text
into different paragraphs.

A

<p>
</p>

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

Each paragraph of
text should go in between an ___ and
a ___ tag

A

opening <p> , closing </p>

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

Whenever you use the ___ element,
anything following it starts from the next line. This tag is an example of an empty element,
where you do not need a pair of opening and
closing tags, as there is nothing to go in
between them.

A

<br></br>

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

You can use ___ tag to put any content in the
center of the page or any table cell.

A

<center>
</center>

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

Horizontal lines are used to visually break-up sections of a document. The ___ tag creates a line from the current position in the document to the right margin and breaks the line accordingly.

A

<hr></hr>

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

An HTML element is defined by a___.
If the element contains other content, it ends
with a ___, where the element name is
preceded by a ___.

A

starting tag, closing tag, forward slash (/)

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

An ___ is used to define the characteristics of
an HTML element and is placed inside the
element’s opening tag.

A

attribute

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

All attributes are made up of two parts:

A

Name, Value

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

The ___ is the property you want to set.

A

name

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

The ___ is what you want the value of the
property to be set and always put within
quotations.

17
Q

The four core attributes that can be used on
the majority of HTML elements are:

A

✔ Id
✔ Title
✔ Class
✔ Style

18
Q
  1. If an element carries an id attribute as a UNIQUE IDENTIFIER, it is possible to identify just that element
    and its content.
  2. If you have TWO ELEMENTS OF THE SAME NAME within a Web page (or style sheet), you can use the id attribute to distinguish between elements that have the same name.
A

Two primary reasons that you might want
to use an id attribute on an element:

19
Q

The ___ gives a suggested title for the
element.

A

title attribute

20
Q

The behavior of the title attribute will depend upon
the element that carries it, although it is often
displayed as a ___ when cursor comes over the
element or while the element is loading.

21
Q

The ___ is used to associate an element
with a style sheet, and specifies the class of element.

A

class attribute

22
Q

The ___ specifies
an inline STYLE for an
element.

A

style attribute

23
Q

The style attribute will
___ any style set
globally, e.g. styles specified
in the <style> tag or in an
external style sheet.</style>

24
Q

allows you to indicate to the browser about the direction in which the text should flow.

A

dir attribute

25
allows you to indicate the main language used in a document, but this attribute was kept in HTML only for backwards compatibility with earlier versions.
lang attribute
26
is the XHTML replacement for the lang attribute. The value of the xml:lang attribute should be an ___ country code
xml:lang attribute, ISO-639
27
Horizontally aligns tags
align
28
Vertically aligns tags within an HTML element
valign
29
Places a background color behind an element
bgcolor
29
Places a background image behind an element
background
30
Names an element for use with the Cascading Style Sheets
id
30
Classifies an element for use with the Cascading Style Sheets
class
31
Specifies the width of tables, images, or table cells
width
32
Specifies the height of tables, images, or table cells
height
33
"Pop" up title of the elements
title