Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.
For the best experience please use the latest Chrome, Safari or Firefox browser.
CIS 115
Lecture 14: HTML & CSS
Tim Berners-Lee
Image Source: Wikipedia
HTML Versions
Image Source: Wikipedia
Assignments
Blog 7: Reaction to Edward Snowden
The recent information about NSA’s data collection, first brought to light by Edward Snowden, has changed the way we look at our online lives, as well as how we as a country are viewed in the international community. Write about your reactions to the information Edward Snowden has released, as well as what you think about his motives and how it will be remembered in history. Some questions you can think about:
Create your own Website!
Create a webpage that has:
Creating your own Website
Creating your own Website
Connecting to the Server
Windows Users - PuTTY
Host Name: cislinux.cis.ksu.edu
Server Security
Linux Terminal
Connecting to the Server
Mac/Linux Users - Terminal
Applications > Utilities > Terminal
SSH on Terminal
ssh <your_eID>@cislinux.cis.ksu.edu
Simple Linux Commands
Creating your own Website
Editing Files
nano <file>
cd ~
mkdir public_html
cd public_html
nano index.html
Nano Text Editor
Creating your own Website
Your First HTML Page
<!DOCTYPE html>
<html>
<head>
<title>Homepage</title>
</head>
<body>
Hello World!
</body>
</html>
HTML Tags
Creating your own Website
Saving in Nano
Problems?
http://support.cis.ksu.edu/UserGuide/
PersonalWebPages
File Access Permissions:
Creating your own Website
HTML Tags
HTML Lists
<ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
Cascading Style Sheets
Adding CSS to a Page
Add the following to your page header
<link rel="stylesheet" href="fancy.css" type="text/css" />
Sample CSS
a {
text-decoration: none;
padding: 0 0.1em;
background: rgba(220,212,231,0.5);
text-shadow: -1px -1px 2px rgba(100,100,100,0.9);
border-radius: 0.2em;
}
a:hover,
a:focus {
background: rgba(189,169,207,1);
text-shadow: -1px -1px 2px rgba(100,100,100,0.5);
}
Add Some Style