To learn basic HTML and CSS skills by building a personal process page.
HTML (HyperText Markup Language) is the industry-standard code used to render web pages on the Internet. Understanding HTML structure is an essential skill all designers need to have today as the ability to publish web content becomes ever more important.
CSS (Cascading Style Sheets) define how to display HTML content. The separation of content from style is important as mobile phones and other hand-held devices start accessing web content originally intented for large computer monitors.
The best way to learn HTML and CSS is with Dreamweaver's code view. By observing how Dreamweaver writes code for you behind the scenes, one can learn how to code by example.
Overview: Tell Dreamweaver the location
of your site. Add content to a new HTML file. Style content using CSS. Publish to server. Note: replace bold with personalized info.
Setting up your HTML page
- download starter files (location=faa999/gds108)
- launch Dreamweaver
- site > new site "gds108-jsmith"
(define local site folder: location=faa999/gds108/html)
- window > files: RMB local site folder > new file "index.html"; open file
- view > code and design
- insert > image "images/logo.png"; id="logo"
- deselect (arrow right)
- insert > div: id="content"
- copy and paste text from "process.txt" into <div#content>
- format text: add <h1>, <ul>
- change "jane smith" to your name (2x)
- link to sample PDFs (use target=_blank)
- link your preferred email address (i.e. mailto:email@example.com)
- window > CSS designer: add source (+): attach existing CSS file "normalize.css"
- window > CSS designer: add source (+): define in page
- window > CSS designer: add selectors (+):
• #logo: layout: width=30%, height=auto, min-width=200px, max-width=400px, position=absolute, left=10%
• #content: layout: width=40%, position=absolute, margin-top=130px, margin-left=50%
• html: text: line-height=150%
• h1: text: font-weight=normal, line-height=110%
• a: text: decoration=none, color=??
• a:hover: decoration=underline
- note CSS code formatting in header
- file > preview in browser (opt+F12 and cmd+F12)
Finishing the HTML file
- change title to something like "Jane Smith | GDS 108"
- add alt tags
- publish page (see separate lesson)
- link your published projects and assignments to this page