C779 WEB DEVELOPMENT FOUNDATIONS
QUESTIONS AND ANSWERS
<title> - Answers - The <title> tag is the first tag that allows you to specify content that
will appear on the page. Any text you enclose with this tag appears as the page title bar
at the top of a browser. This text also appears in the history list and on the page when
printed. Title text becomes the Bookmark name if the page is bookmarked or added to a
browser Favorites folder.
<body> - Answers - The <body> tag begins the body of the document.
<head> - Answers - The <head> tag allows you to insert <meta> tags, link to style
sheets, and assign a title to the document with the <title> tag.
<meta> - Answers - can include a document description, revision dates, and keywords
to help search engines index the page.
It also specifies the HTML5 character set used, which is usually UTF-8.
<br> - Answers - Creates a line break. Empty tag.
Difference between <b> and <strong> bolding? - Answers - The <b> element applies
the bold font style, whereas <strong> applies a heavier weight to the text relative to the
surrounding text.
Difference between text-level and block-level? - Answers - Text-level elements can
affect a section of text as small as a single character.
Markup elements that affect an entire paragraph or multiple paragraphs are referred to
as block-level elements.
An element - Answers - provides the main instruction of the tag. An element is required
in every tag. Elements include <body>, <p>, <h1>, <title>, <table> and many others.
An attribute - Answers - specifies a quality or describes a certain aspect of the element.
For example, a hyperlink is added to a Web page by using the <a>, or anchor, element.
The href attribute is added, which identifies the hyperlink reference. Many elements
require specified attributes, but some do not. An attribute is required in a tag only if the
element requires it.
A value - Answers - gives value to the element and its attribute. For example, <a
href="http://www.ciwcertified.com"> has a value that instructs the hyperlink to access
the CIW Certified Web site. Like attributes, values are optional in a tag unless required
by a specified attribute to the element. Values are used only with attributes; elements do
, not take values directly. Values should be surrounded by quotation marks; they are not
required, but placing values in quotation marks is considered good coding practice.
<!DOCTYPE> - Answers - The document type declaration, or <!DOCTYPE> tag,
describes the markup language and version of your code. It is placed at the very top of
your document.
<pre> - Answers - The <pre> tag allows you to display plain text files with their original
formatting. It is commonly used to display tabular data.
<blockquote> - Answers - The <blockquote> tag centers and indents a block of text.
<p> - Answers - The <p> tag defines the start of a new paragraph.
Location of style sheet references in HTML doc - Answers - Style sheet references are
specified with the <link> tag in the <head> section, usually before the <title> tag.
What happens when you place text between the <!-- and --> tags in your HTML source
code? - Answers - Commented out
- Answers - The HTML special character code for a non-breaking space is
.
dithering - Answers - the ability for a computer to approximate a color by combining the
RGB values.
hexadecimal 10 = - Answers - A
hexadecimal F = - Answers - 15
hexadecimal 16 = - Answers - 10
Value for CSS value - Answers -
<html> tag - Answers - The <html> tag is used as a container for the entire HTML
document. It nests all code except for the <!DOCTYPE> declaration.
<link> tag - Answers - The <link> tag references a style sheet and is recommended for
HTML5. A style sheet usually has a .css file name extension and a file name similar to
the page to which it is linked (e.g., syb.css for the HTML page named syb.html). Style
sheets are often placed in a subdirectory for the Web page. This subdirectory contains
all images and associated files for the page. The <link> tag is placed within the <head>
container tags.
Scalable Vector Graphics (SVG) - Answers - text inside the image can be indexed and
searched. Additional benefits include compression capabilities and zooming.
QUESTIONS AND ANSWERS
<title> - Answers - The <title> tag is the first tag that allows you to specify content that
will appear on the page. Any text you enclose with this tag appears as the page title bar
at the top of a browser. This text also appears in the history list and on the page when
printed. Title text becomes the Bookmark name if the page is bookmarked or added to a
browser Favorites folder.
<body> - Answers - The <body> tag begins the body of the document.
<head> - Answers - The <head> tag allows you to insert <meta> tags, link to style
sheets, and assign a title to the document with the <title> tag.
<meta> - Answers - can include a document description, revision dates, and keywords
to help search engines index the page.
It also specifies the HTML5 character set used, which is usually UTF-8.
<br> - Answers - Creates a line break. Empty tag.
Difference between <b> and <strong> bolding? - Answers - The <b> element applies
the bold font style, whereas <strong> applies a heavier weight to the text relative to the
surrounding text.
Difference between text-level and block-level? - Answers - Text-level elements can
affect a section of text as small as a single character.
Markup elements that affect an entire paragraph or multiple paragraphs are referred to
as block-level elements.
An element - Answers - provides the main instruction of the tag. An element is required
in every tag. Elements include <body>, <p>, <h1>, <title>, <table> and many others.
An attribute - Answers - specifies a quality or describes a certain aspect of the element.
For example, a hyperlink is added to a Web page by using the <a>, or anchor, element.
The href attribute is added, which identifies the hyperlink reference. Many elements
require specified attributes, but some do not. An attribute is required in a tag only if the
element requires it.
A value - Answers - gives value to the element and its attribute. For example, <a
href="http://www.ciwcertified.com"> has a value that instructs the hyperlink to access
the CIW Certified Web site. Like attributes, values are optional in a tag unless required
by a specified attribute to the element. Values are used only with attributes; elements do
, not take values directly. Values should be surrounded by quotation marks; they are not
required, but placing values in quotation marks is considered good coding practice.
<!DOCTYPE> - Answers - The document type declaration, or <!DOCTYPE> tag,
describes the markup language and version of your code. It is placed at the very top of
your document.
<pre> - Answers - The <pre> tag allows you to display plain text files with their original
formatting. It is commonly used to display tabular data.
<blockquote> - Answers - The <blockquote> tag centers and indents a block of text.
<p> - Answers - The <p> tag defines the start of a new paragraph.
Location of style sheet references in HTML doc - Answers - Style sheet references are
specified with the <link> tag in the <head> section, usually before the <title> tag.
What happens when you place text between the <!-- and --> tags in your HTML source
code? - Answers - Commented out
- Answers - The HTML special character code for a non-breaking space is
.
dithering - Answers - the ability for a computer to approximate a color by combining the
RGB values.
hexadecimal 10 = - Answers - A
hexadecimal F = - Answers - 15
hexadecimal 16 = - Answers - 10
Value for CSS value - Answers -
<html> tag - Answers - The <html> tag is used as a container for the entire HTML
document. It nests all code except for the <!DOCTYPE> declaration.
<link> tag - Answers - The <link> tag references a style sheet and is recommended for
HTML5. A style sheet usually has a .css file name extension and a file name similar to
the page to which it is linked (e.g., syb.css for the HTML page named syb.html). Style
sheets are often placed in a subdirectory for the Web page. This subdirectory contains
all images and associated files for the page. The <link> tag is placed within the <head>
container tags.
Scalable Vector Graphics (SVG) - Answers - text inside the image can be indexed and
searched. Additional benefits include compression capabilities and zooming.