Linguistics 158: Computer-aided methods in linguistics
John B. Lowe /
Department of Linguistics
University of California, Berkeley - Spring 1997
Creating Web Content: HTML basics, web servers
week /class: 2 / 3 :
Lec
Tu , 27 Jan 1997
Preliminaries
- Terminology
- Structured Text
- HTML Elements
- all elements starts with a tag. attributes may be "imbedded."
- the name of a tag refers to an "element type declaration" (i.e. the "meaning" of the element. This associates each element name with a list of attributes, a description of the "syntax" and a "content model"
- The 102 element names: A, ABBREV, ACRONYM, ADDRESS, APP, APPLET, AREA, AU, B, BANNER, BASE, BASEFONT, BDO, BGSOUND, BIG,BLINK, BLOCKQUOTE, BODY, BQ, BR, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, CREDIT, DD, DEL, DFN,DIR, DIV, DL, DT, EM, EMBED, FN, FIG, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HP, HR,HTML, I, IMG, INPUT, INS, ISINDEX, KBD, LANG, LH, LI, LINK, LISTING, MAP, MARQUEE, MENU, META, NEXTID,NOBR, NOEMBED, NOFRAMES, NOTE, OL, OPTION, OVERLAY, P, PARAM, PERSON, PLAINTEXT, PRE, Q, S, SAMP,SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TAB, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD,TITLE, TR, TT, U, UL, VAR, WBR, XMP
- The important subset: <hn> headings
<a href="URL" name=> anchor
<p><br> paragraph and break
<b><i><emph><u><tt> bold, italic, emph (logical vs. physical)
<blockquote> quote
<ul> unnumbered list
<ol> numbered list
<table><td><tr> table
<dd> definition
<img src=> images
<hr> rules
<pre> preformatted text
<!-- --> comments
- URLs