MODULE 2 Flashcards
HTML stands for ___,
and it is the most widely used language to
write/create Web Pages.
Hypertext Markup Language
___ refers to the way in which Web pages
(HTML documents) are linked together. Thus, it is the link available on a webpage.
Hypertext
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.
Markup Language
___ 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.
HTML
___ is being widely used to
format web pages with the help
of different tags available in
HTML language.
HTML
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>
Six
The ___ tag offers a way to structure your text
into different paragraphs.
<p>
</p>
Each paragraph of
text should go in between an ___ and
a ___ tag
opening <p> , closing </p>
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.
<br></br>
You can use ___ tag to put any content in the
center of the page or any table cell.
<center>
</center>
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.
<hr></hr>
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 ___.
starting tag, closing tag, forward slash (/)
An ___ is used to define the characteristics of
an HTML element and is placed inside the
element’s opening tag.
attribute
All attributes are made up of two parts:
Name, Value
The ___ is the property you want to set.
name
The ___ is what you want the value of the
property to be set and always put within
quotations.
value
The four core attributes that can be used on
the majority of HTML elements are:
✔ Id
✔ Title
✔ Class
✔ Style
- If an element carries an id attribute as a UNIQUE IDENTIFIER, it is possible to identify just that element
and its content. - 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.
Two primary reasons that you might want
to use an id attribute on an element:
The ___ gives a suggested title for the
element.
title attribute
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.
Tooltip
The ___ is used to associate an element
with a style sheet, and specifies the class of element.
class attribute
The ___ specifies
an inline STYLE for an
element.
style attribute
The style attribute will
___ any style set
globally, e.g. styles specified
in the <style> tag or in an
external style sheet.</style>
override
allows you to indicate to the browser about the direction in which the text should flow.
dir attribute
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
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
Horizontally aligns tags
align
Vertically aligns tags within an HTML element
valign
Places a background color behind an element
bgcolor
Places a background image behind an element
background
Names an element for use with the Cascading Style Sheets
id
Classifies an element for use with the Cascading Style Sheets
class
Specifies the width of tables, images, or table cells
width
Specifies the height of tables, images, or table cells
height
“Pop” up title of the elements
title