Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
World Wide Web is not the Internet. The Internet is a network on computers that
communicate with each other. It has been in existence since the 1960s. It does not have
a presentation layer.
The World Wide Web is a system of publishing content (html), a system of addresses (urls),
and a protocol for traversing between pages of content (http).
The World Wide Web begins with one webpage, which becomes a collection of webpages
organized and connected with links that form a website, which becomes a collection of
websites connected with links, and so on and so forth.
web philosophy
The World Wide Web was created with the intention to provide universal access to
knowledge. It uses languages with simple syntax, does not require special software,
and is nationless.
Best Practices
file naming
No spaces
For each project, it’s helpful to create a subfolder (with that project folder) for images
Similarly, you should create subfolders for your CSS and JavaScripts
HTML 1
Introduction to Code
Web Design , GR APH -327 1- 01
Instructor: Erika Tarte
Rhode Island School of Design
Wintersession 2011
HTML
html, the text that makes the web go ‘round
Formatting language
<html> </html>
a tag consists of an opening tag & closing tag for an html element
<h1>Primary Headline</h1>
<h2>Secondary Headline</h2>
<p>Paragraph of text</p>
<a href="http://www.google.com">Link</a>
tags communicate content semantics
html attributes
<a href="http://google.com">Link</a>
element
html attributes
<a href="http://google.com">Link</a>
at tribute
html attributes
<a href="http://google.com">Link</a>
value
html class & id attributes
These 2 attributes give you more control over the elements once you begin using CSS
You should think about HTML as a structural layer, and CSS as presentation layer
Simple text file containing rules for how to display HTML elements
Browsers have default rules for displaying elements, so we use CSS to override those rules
There are many elements, and new ones were just recently introduced with HTML5
Bookmark W3Schools.com, an excellent resource for referencing elements, their tags, their
attributes, and all the possible values of those attributes. You can see how the code is
implemented, and experiment with live demonstrations.
html elements: headlines
<h4>...</h4>
<h5>...</h5>
<h6>...</h6>
html elements: paragraphs
<p>Paragraph of text</p>
<p>There’s no limit</p>
html elements: links
<ul>
<li><a href=”http://google.com”>Link</a></li>
<li><a href=”http://google.com”>Link</a></li>
<li><a href=”http://google.com”>Link</a></li>
</ul>
this is an example of an unordered lis t (ul)
html elements: lists
<ol>
<li><a href=”http://google.com”>Link</a></li>
<li><a href=”http://google.com”>Link</a></li>
<li><a href=”http://google.com”>Link</a></li>
</ol>
this is an example of an ordered lis t (ol)
html elements: lists
You can use CSS to identically style unordered and ordered lists
BUT you should use the proper list for the content you are organizing
Ordered lists contain information with an emphasis on order (a waitlist, for example)
Unordered lists contain information without such emphasis (a grocery list, for example)
<ul>
<li>Soda
<ol>
<li>Yacht Club Cola</li>
<li>Coke</li>
<li>Pepsi</li>
</ol>
</li>
<li>Tortilla Chips</li>
<li>Salsa</li>
<li>Avocados</li>
</ul>
this is an example of an ordered lis t (ol) within an Unordered lis t (ol)
html elements: strong words and emphasis
Today we will practice HTML syntax (rules) and semantics (meaning) by translating printed
documents into syntactically and semantically correct HTML code.
in-class exercise: digitizing a document
W 3 School s
http://w3schools.com