CIS4004 - Exam 1
Computer Code
<code>...</code>
Emphasized Text
<em>...</em>
Subscript Text
<sub>...</sub>
Superscript Text
<sup>...</sup>
Monospaced Font
<tt>..</tt>
Markup Language
A text document with tags
Title
Gives a suggested title for the element
Heading Tags
HTML has six levels, using elements <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>
Nested Elements
One HTML element can be inside another HTML element
image height
height = "150"
align
horizontally aligns tags
Name
the property to set
<title>
used to mention the document title
Tags
- format content on a web page - Example: <p>
Void Elements
- only have a starting tag that includes the / before the right angle bracket - AKA as empty elements
Text Abbreviation
<abbr>...</abbr>
Acronym Element
<acronym>...</acronym>
Address Text
<address>...</address>
Bold Text
<b>...</b>
Text Direction
<bdo>...</bdo>
Larger Text
<big>...</big>
Quoting Text
<blockquote>...</blockquote>
Text Citations
<cite>...</cite>
Deleted Text
<del>...</del>
Special Terms
<dfn>....</dfn>
Grouping Content
<div>..</div>
Italic Text
<i>...</i>
Inserted Text
<ins>...</ins>
Keyboard Text
<kbd>...</kbd>
Marked Text
<mark>...</mark>
specify character set used within the webpage
<meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8" />
to store cookies on client side
<meta http-equiv = "cookie" content = "userid = kwhiting; expires = Wednesday, 08-Aug-20 23:59:59 GMT;" />
to specify a duration after which a web page will keep refreshing automatically
<meta http-equiv = "refresh" content = "5" />
redirect a page to any other webpage
<meta http-equiv = "refresh" content = "5; url = https://webcourses.ucf.edu/" />
set an author name in a web page
<meta name = "author" content = "Karin Whiting" />
give a short description about the document
<meta name = "description" content = "Learning about Meta Tags.">
specify important keywords related to the document
<meta name = "keywords" content = "HTML, Meta Tags, Metadata" />
give information about when the last time the document was updated
<meta name = "revised" content = "Webcourses, 3/7/2014" />
Short Quotations
<q>...</q>
Program Output
<samp>...</samp>
Smaller Text
<small>...</small>
Grouping Inline Content
<span>...</span>
Strike Text
<strike>...</strike>
Strong Text
<strong>...</strong>
Underlined Text
<u>...</u>
Element
Example: <h1>...</h1>
HTML
Hypertext Markup Language
jpeg, gif, png
Image file formats supported by default in HTML
<!DOCTYPE...>
defines the document type and HTML version
<html>
encloses the complete HTML document
lang
indicates the main language used in a document
dir
indicates to the browser about the direction in which text should flow
The Two Parts of Attributes
name and values
Hypertext
refers to the way in which Web pages are linked together
<p>
represents a paragraph
<body>
represents the document's body
<head>
represents the document's header
<h1>
represents the heading
width
species the width of tables, images, or table cells
height
specifies the height of tables, images, or table cells
Style
specify Cascading Style Sheet (CSS) rules within the element
image file name
src = "images/pope.png"
xml:lang
the XHTML replacement for lang attribute
Value
the value of the property to be set
Nonbreaking Spaces
use a nonbreaking space entity   instead of a normal space for an explicit space to render in a web page
src
used in the <img> tag to reference an image file
Class
used to associate an element with a style sheet
ID
used to uniquely identify any element within an HTML page
Preserve Formatting
using <pre> tag so text will follow the exact format of how it is written in the HTML document
Line Break Tag
using the <br /> element, anything following it starts on the next line
Centering Content
using the <center> tag to put any content in the center of the page or any table cell
Horizontal Lines
using the <hr> tag creates a line from the current position in the document to the right margin and breaks the line accordingly
valign
vertically aligns tags
A Starting Tag
what an HTML element is defined by
image width
width = "150"
<,html>, <body>, <head>
What are the minimum tag elements required for the basic HTML document structure regardless of HTML version?
/
What the element name is preceded by when an HTML element uses a closing tag
Paragraph Tag
a way to structure your text into different paragraphs
image alignment
align = "right"
alternate text form an image
alt = "Pope of Nope"
image border
border = "10"