matt.m.soria@gmail.com
A website is a collection of documents stored on a server that can be accessed on the internet via a unique address (its location).
A website only requires a single HTML document, but is typically comprised of documents written in other languages and technologies as well (CSS, JavaScript, PHP, Ruby, etc.)
<img>
:
<h1>I am a header!</h1>
<p>I am a paragraph!</p>
<p class="example">Class</p>
<p id="example">ID</p>
<a href="http://example.com">href</a>
<h1>The main Heading element</h1>
<h2>A second-level Heading</h2>
<h3>A third-level Heading</h3>
<div> A div is a generic block-level element used to contain other elements. </div>
<p>The paragraph element.</p>
<!-- This is a comment, it won't be "rendered" by the browser! -->
There have been different iterations of HTML as a language, and we are currently in the middle of the 5th iteration, aptly called HTML5
HTML5 introduces some new elements:
<header>
The header is used to contain the "header" content of a page or section
<nav>
The nav element is used to contain the site's navigation
</nav>
</header>
<main>
The main element is used to contain the main content section of a site
<section>
The section element is used to contain a specific section of a page, typically an area that could live on its own, with its own heading element (<h1> or <h2>)
</section>
</main>
<footer>
The footer typically contains "background"-type information about the page or section
</footer>
1. Their name
p {
color: #6CC;
}
2. Their .class.example {
color: #6CC;
}
3. Their #id#example {
color: #6CC;
}
<p id="example" class="example">The styled paragraph</p>
http://mattsoria.com/images/hurley.jpg
http://mattsoria.com/lets-make-a-website
for more info and resources about what we learned tonight, as well as what comes next.