Introduction to Hypertext Markup Language James H. Harrison, Jr., M.D., Ph.D. Center for Biomedical Informatics University of Pittsburgh Medical Center Forbes Tower Suite 8084, 200 Lothrop St. Pittsburgh, PA
Uniform Resource Locators (URL/URI) A standard nomenclature for Internet addresses ftp://path.upmc.edu/resources/cases/caseList.doc Protocol gopher:// telnet:// mailto: file:/// serverdirectory(ies)document
A Hypertext Markup Language Document My Document This is an example HTML document First paragraph Second paragraph This is the first paragraph. It doesn't really say very much. Now is the time for all good men to come to the aid of their country. This is the second paragraph. The quick brown fox jumped over the lazy dog. Tags define formatting Returns and spaces don't matter
A Simple HTML Example My Document This Is an HTML Document Now is the time for all good men to come to the aid of their country. The quick brown fox jumped over the lazy dog. Fido: This is a bulleted list: List item 1 List item 2 Document Head Body Text formatting tags Links Images Inspect the html code of any page by selecting view source from the browser menu
General Form of HTML Tags text content -or- without ending tag in some cases
HTML Document Elements > >background=" >bgcolor="#DDDDDD" html colors: 16 names or hexadecimal codes ># to #FFFFFF specify RGB
Text Block Elements Divisions, Headings, to Paragraphs, Lists,,, ; or Links, Line breaks, Horizontal rules, Tables,
Tables item1 item2 item3 item4 item5 item6 Cell attributes align, valign nowrap width rowspan, colspan
Text Style Elements Bold, or Italic, or Sub/superscript,, Fixed width font, Font (moving to stylesheet specification) >Face >Size, absolute or +/- 1 >Color
Practice Download and mark up text document