Chapter 1

Advanced Web Designing

The ______ element is a starting element in an HTML document; it indicates the document type definition being used.

SOLVED <!DOCTYPE html>

The ______ is a tag in HTML that describes some aspects of the contents of a webpage.

SOLVED <meta>

The <ol> tag defines an ______.

SOLVED Ordered List

An unordered list is created using the ______ tag.

SOLVED <ul>

The ______ element creates an inline frame.

SOLVED <iframe>

The ______ tag is used to specify video on an HTML document.

SOLVED <video>

If a web developer wants to add a description to an image, he must use the ______ attribute of the <img> tag.

SOLVED alt

The ______ property is used to set the position for an element in CSS.

SOLVED position

The ______ property defines the flow of content (left or right).

SOLVED float

The ______ property is used with elements that overlap with each other (z-index).

SOLVED positioning

HTML stands for ______.

SOLVED Hyper Text Markup Language

The ______ is an evolving language with different versions supporting different features.

SOLVED HTML

______ is currently used because it supports mobile technology and multimedia.

SOLVED HTML5

The ______ tag is used to create a form for user input.

SOLVED <form>

<input type="..."> defines a color picker.

SOLVED color

<input type="..."> defines a field for entering a number.

SOLVED number

<input type="..."> defines a field for entering a URL.

SOLVED url

<input type="..."> defines an image as a submit button.

SOLVED image

<input type="..."> defines a date picker with year, month, and day.

SOLVED date

<input type="..."> defines a field for an email address.

SOLVED email

<input type="..."> defines a month and year control (YYYY-MM).

SOLVED month

<input type="..."> defines a range control (slider).

SOLVED range

<input type="..."> defines a date picker that includes year, month, day, and time.

SOLVED datetime-local

<input type="..."> defines a control for entering a time.

SOLVED time

<input type="..."> defines a week and year control.

SOLVED week

<input type="..."> defines a text field for entering a search string.

SOLVED search

<input type="..."> defines a select field and a "Browse" button for file uploads.

SOLVED file

<input type="..."> is used to define input fields for telephone numbers.

SOLVED tel

The ______ attribute of the <input> tag specifies that an input field should be disabled.

SOLVED disabled

The ______ attribute of the <input> tag specifies the maximum value.

SOLVED max

The ______ attribute of the <input> tag specifies the minimum value.

SOLVED min

The ______ attribute of the <input> tag specifies a regular expression (regex) to check input.

SOLVED pattern

The ______ attribute of the <input> tag specifies that a field is read-only.

SOLVED readonly

The ______ attribute acts as a temporary label showing the purpose of a field without a <label> tag.

SOLVED placeholder

The ______ attribute of the <input> tag specifies that a field must be filled out.

SOLVED required

The ______ attribute specifies whether a form should have auto-completion on or off.

SOLVED autocomplete

The ______ attribute specifies that a field should automatically get focus when the page loads.

SOLVED autofocus

The ______ and ______ attributes specify the size of an <input type="image">.

SOLVED height and width

The ______ attribute allows the user to enter more than one value (e.g., in file or email).

SOLVED multiple

The ______ attribute is used to identify an HTML element uniquely.

SOLVED id

The ______ attribute is used to apply CSS styles to a group of elements.

SOLVED class

The ______ tag is used by search engines to search information provided with the web page.

SOLVED <meta>

Metadata provided by the <meta> tag will not be ______ on the web page.

SOLVED displayed

The ______ attribute of the <meta> tag specifies the character encoding used (e.g., UTF-8).

SOLVED charset

The ______ attribute of the <meta> tag is used for HTTP response message headers.

SOLVED http-equiv

<meta http-equiv="refresh" content="5"> specifies the page will refresh every ______ seconds.

SOLVED five

______ can control the layout of multiple web pages all at once.

SOLVED CSS

A CSS rule set contains a ______ and a declaration block.

SOLVED selector

Each declaration in CSS contains a property name and a value, separated by a ______.

SOLVED colon

There are ______ methods of implementing styling information in HTML.

SOLVED three

______ style sheet uses the style attribute inside the HTML start tag.

SOLVED Inline

The ______ style sheet is used to apply CSS to a single document using the <style> tag.

SOLVED Internal

The ______ style sheet facilitates changing the look of an entire website by changing one file.

SOLVED External

The external style sheet must be saved with the ______ extension.

SOLVED .css

In CSS, the ______ property changes the color of the text.

SOLVED color

The ______ property is used to make the text bold.

SOLVED font-weight

The ______ property is used to make the text italic.

SOLVED font-style

The ______ property is used to add underline or strike-through.

SOLVED text-decoration

The ______ property is used to control the horizontal alignment of text.

SOLVED text-align

The ______ property is used to control the font type.

SOLVED font-family

The ______ property allows you to control the size of the font.

SOLVED font-size

The ______ property adds space around the contents inside an element.

SOLVED padding

The ______ property adds space outside the border of an element.

SOLVED margin

The ID selector is written with the ______ character followed by the ID name.

SOLVED # (Hash)

The Class selector is written with a ______ character followed by the class name.

SOLVED . (Period)

The ______ selector is used as a wildcard to select all elements.

SOLVED Universal (*)

In a grouping selector, ______ are used to separate each selector.

SOLVED commas

The ______ positioning is the default position for an HTML element.

SOLVED static

The ______ positioning helps keep an element fixed even when the page is scrolled.

SOLVED fixed

The ______ positioning property sets an element relative to its normal position.

SOLVED relative

The ______ positioning property sets an element in a specific location relative to its parent.

SOLVED absolute

The ______ property defines how components are placed (block, inline, etc.) on a page.

SOLVED display

The ______ attribute of the <ol> tag specifies the starting number.

SOLVED start

An unordered list is also called a ______ list.

SOLVED bulleted

Each list item in a <ul> or <ol> starts with the ______ tag.

SOLVED <li>

To define a definition list, the ______ tag is used.

SOLVED <dl>

The ______ tag defines the term, while ______ defines the description in a <dl>.

SOLVED <dt> and <dd>

The list within another list is called a ______ list.

SOLVED nested

The ______ element enables embedding audio files into a webpage.

SOLVED <audio>

The ______ attribute of the <audio> tag specifies that the audio should play repeatedly.

SOLVED loop

The ______ tag is used to specify multiple media resources for audio or video.

SOLVED <source>

The ______ attribute of the <video> tag specifies an image to be shown while the video is downloading.

SOLVED poster

An image with multiple hyperlinks is called an ______.

SOLVED Image Map

The clickable regions of an image map are called ______.

SOLVED hotspots

To create a client-side image map, the ______ attribute of the <img> tag is used.

SOLVED usemap

The ______ attribute of the <area> tag defines the coordinates of the clickable region.

SOLVED coords

The ______ attribute of the <area> tag defines the shape (rect, circle, poly).

SOLVED shape

The company that provides storage space for a website is called a ______.

SOLVED Web Host

______ hosting is a paid service where the entire server is reserved for one user.

SOLVED Dedicated

______ hosting allows multiple websites to share the same server resources.

SOLVED Shared