Chapter 3: Introduction to HTML

Ace your homework & exams now with Quizwiz!

_____ element which specifies an external CSS style sheet file that is used with this document.

<link>

DOCTYPE Short for _____

Document Type Definition

<body>, <p>, <h1> and <div> are all examples of HTML _____

elements NOTE* All HTML documents consist of nested HTML elements.

markup

is a way to indicate information about the content that is distinct from the content

An empty element does not contain any text content; instead...

it is an instruction to the browser to do something.

HTML elements can be _____ (this means that elements can contain other elements).

nested NOTE* All HTML documents consist of nested HTML elements.

In HTML5, the _____ in empty elements is optional.

trailing slash ex) <img src="file.gif" = alt="something" />

DOCTYPE Short for Document Type Definition tells the browser...

what type of document it is about to process. ex) <!DOCTYPE html>

______ element declares that the character encoding for the document is UTF-8

<meta>

Syntax to write HTML comments

<! -Write comments here >

HTML5

> HTML stands for Hyper Text markup language. > HTML describes the structure of Web pages using markup > HTML5 is the current W3C recommendation for web development and is widely implemented in modern browsers

Element which contains content to be displayed by the browser (Item 4)

<body>

Element which contains descriptive elements about the document, such (title, style sheets, JavaScript files etc.) (Item 3)

<head>

Element which contains all the other HTML elements in the document (Item 2 in previous slide)

<html>

HTML5 does not require the use of the _____, _____ , and _____ elements (but most developers continue to use them).

<html> / <head> / <body>

HTML documents are composed of ______ and ______.

textual content, HTML elements

HTML element encompasses: (3 items)

• the element name within angle brackets (i.e., the tag) and • HTML elements can also contain attributes. • the content within the tag.


Related study sets

module 10: autonomic nervous system

View Set

6.2 Integumentary Structures Derived from Epidermis

View Set

13.2.3 Social studies, Harsh Conditions in Factories and Mines

View Set