meets Tuesday and Thursday from 0800-0915
office hours in Manning 112
Class Schedule
10 Jan | intro
15 Jan | clients
17 Jan | servers
22 Jan | networks
24 Jan | basics lab
29 Jan |
HTML - practice |
theory |
tags |
links |
HTML terms |
02.01 |
next session
31 Jan | presentational layer
05 Feb | working with layers
07 Feb | behavior layer
12 Feb | images & design
14 Feb | website lab
19 Feb | document markup
21 Feb | tools that read markup
26 Feb | document markup lab
28 Feb | spreadsheets
05 Mar | formulas & functions
07 Mar | data display
19 Mar | database tools
21 Mar | spreadsheets lab
26 Mar | relational databases
28 Mar | tables
02 Apr | relationships
04 Apr | input & output
09 Apr | SQL
11 Apr | complex queries
16 Apr | databases lab
18 Apr | presentation design
23 Apr | presentation delivery
25 Apr | presentation lab
30 Apr | 0800-1100 | final in class presentation
This work
is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
home & schedule | class blog | syllabus | contact | grades
Having created an HTML page, let's consider what we did by considering the theory behind the page.
UNIX/LINUX ⇒ | command | argument | value |
HTML ⇒ | tag | attribute | value |
So an HTML tag is a form of a command, but this tag (command) is directed at the browser.
Two definitions that say the same thing
<tagname> content </tagname>
For instance,
these tags
tell the content of the element how to display.
Thus, the element
<b>content</b>
tells the browser to show the word "content" as bold, or
content
For another instance,
these tags
tell the content of the element how to display.
Thus, the element
<i>content</i>
tells the browser to show the word "content" as italicized, or
content
Some elements - such as a Heading 4
can take
attributes
that define the properties of the element - such as a style
and
values - such as centering
Thus, the element
<h4
style="text-align:center">centering a Heading 4</h4>
tells the browser to show the words "centering a Heading 4" in Heading 4 style and centered, or
centering a Heading 4
In general, both sides of the content must be balanced and consistent.
The element
<h3
style="text-align:right"><i> the marked-up content</i></h3>
tells the browser to
open heading 3
in a style
in which the text is displayed to the right of the line
open italics
the marked-up content
close italics
close heading 3
in mirrored order.
Or, as it will display
the marked-up content
<!DOCTYPE html version>
<!-- this is a comment about the DOCTYPE, the html version of which should be specified -->
<html>
<head>
<title>page title</title>
</head>
<body>
<p>a paragraph in the body of the page</p>
<!-- this is a comment -->
</body>
</html>
Although we can get away without putting end tags on elements (because many browsers are lax about it), we will adopt the habit of always closing any tag we open so that we are compliant with current and future standards.
<head>
<title> INLS161-003 Spring 2019 Information Tools | Sample Page </title>
<meta name ="description" content ="sample page for INLS161-003 Spring 2019 Information Tools" />
<meta name ="keywords" content ="information literacy, information tools, information, tasks, hard coding" />
<meta http-equiv ="content-type" content ="text/html; charset=UTF-8" />
<link rel ="stylesheet" type ="text/css" href ="notyet.sample-style.css" />
</head>
Metadata typically define document title, styles, links, scripts, and other meta information.
We'll sort of follow this W3C intro, doing the things he recommends as we go. You may, if you wish, use his guidance to create your own good code for your own new pages
HTML - practice | theory | tags | links | HTML terms | 02.01 | next session