CSE 154 LECTURE 1: BASIC HTML AND CSS. The Internet Wikipedia: a connection.

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

© 2010, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet 1.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
IST 221 Internet Concepts and Applications Internet, WWW and HTML 1.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
CMSC389P: Introduction to PHP, MySQL and Apache
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 14 Introduction to HTML
COMPUTERS AND INFORMATION SYSTEMS HTML. How the Web Works To access a web site  Enter its address (URL) in the address box of your browser 
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Web Design Basic Concepts.
Computer Science 101 HTML. World Wide Web Invented by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland (roughly.
CSE 154 LECTURE 1: BASIC HTML AND CSS. The Internet Wikipedia: a connection.
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
The WWW Willem Visser RW334. Internet A global network of networks connecting computers using the internet protocol.
CMPT Web Programming Introduction and Basic HTML.
What is Web Design?  Web design is the creation of a Web page using hypertext or hypermedia to be viewed on the World Wide Web.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Chapter 16 The World Wide Web Chapter Goals ( ) Compare and contrast the Internet and the World Wide Web Describe general Web processing.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
Web Mastering Module Internet Fundamentals. What is the Internet? –Global network of networks –Communicating using same set of rules (protocols/languages)
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
Tutorial #2 Creating Links. Tutorial #1 Review Basic Page (DOCTYPE, HTML, Head, Title, Body) Tags Structure( ),,,,,, Nested Tags content Tag Attributes.
CS117 Introduction to Computer Science II Lecture 1 Introduction to WWW and HTML Instructor: Li Ma Office: NBC 126 Phone: (713)
Understanding HTML Code
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
1 Web Development & Design Foundations with XHTML Chapter 1 Key Concepts.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic.
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
CA Professional Web Site Development Class 2: Anatomy of a Web Site and Web Page & Intro to HTML.
Communication, Networks, The internet and the Worldwide Web.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
Introduction to HTML. Today’s Discussion What is HTML ? What is HTML ? What is Web Page ? What is Web Page ? Web Server Web Server Web Browser Web Browser.
COP 3813 Intro to Internet Computing Prof. Roy Levow Lecture 1.
HTML Chapter 4 Source: CSE 190 M (Web Programming) lecture notes, es/slides/lecture02-basic_xhtml.html.
Introduction to Web & HTML
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
CIS 228 The Internet Day 2, 9/1/11 Hypertext. The Course Instructor: Bowen Alpern Office hour: GI 137-I, 4-5pm Tu.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
CS 380 WEB PROGRAMMING Instructor: Xenia Mountrouidou CS380 1.
Website Design and Construction Services and Standards.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Finally getting to html and CSS… Tim Berners-Lee, the writer of the software program that makes him the inventor of the WWW, defines the Internet as a.
CISC103 Web Development Basics: Web site:
Chapter 1 Introduction to HTML.
Introduction to HTML.
Warm Handshake with Websites, Servers and Web Servers:
HTML5 – Heading, Paragraph
Introduction to XHTML.
CISC103 Web Development Basics: Web site:
1 Introduction to the Internet.
Anwar Alhenshiri Material by: Marcos Elugardo Gordon College
Web Page Concept and Design :
Chapter 16 The World Wide Web.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Introduction to World Wide Web
Introduction and Basic HTML
Internet and the world wide web (www)
Presentation transcript:

CSE 154 LECTURE 1: BASIC HTML AND CSS

The Internet Wikipedia: a connection of computer networks using the Internet Protocol (IP) layers of communication protocols: IP → TCP/UDP → HTTP/FTP/POP/SMTP/SSH...

Web serversWeb servers and browsersbrowsers web server: software that listens for web page requests Apache Microsoft Internet Information Server (IIS) (part of Windows)part of Windows web browser: fetches/displays documents from web servers Mozilla Firefox Microsoft Internet Explorer (IE)Internet Explorer Apple SafariSafari Google Chrome Opera

Layers of protocol Protocol: a set of rules governing the format of data sent IP address:

Internet Protocol (IP)IP a simple protocol for attempting to send data between two computers each device has a 32-bit IP address written as four 8-bit numbers (0-255) find out your internet IP address: whatismyip.comwhatismyip.com find out your local IP address: in a terminal, type: ipconfig (Windows) or ifconfig (Mac/Linux)

Transmission Control Protocol (TCP)TCP adds multiplexing, guaranteed message delivery on top of IP multiplexing: multiple programs using the same IP address port: a number given to each program or service port 80: web browser (port 443 for secure browsing) port 25: port 22: ssh port 5190: AOL Instant Messenger more common ports some programs (games, streaming media programs) use simpler UDP protocol instead of TCPUDP

How do web addresses work? DNS: a set of servers that map written names to IP addresses Example: → many systems maintain a local cache called a hosts filehosts file URL: a basic URL: ~~~~ ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol host path

Domain Name System (DNS)DNS a set of servers that map written names to IP addresses Example: → many systems maintain a local cache called a hosts filehosts file Windows: C:\Windows\system32\drivers\etc\hosts C:\Windows\system32\drivers\etc\hosts Mac: /private/etc/hosts /private/etc/hosts Linux: /etc/hosts /etc/hosts

Uniform Resource Locator (URL)URL an identifier for the location of a document on a web site a basic URL: ~~~~ ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol host path upon entering this URL into the browser, it would: ask the DNS server for the IP address of connect to that IP address at port 80 ask the server to GET /info/regesstepp/index.html display the resulting page on the screen

Hypertext Transport Protocol (HTTP)HTTP the set of commands understood by a web server and sent from a browser some HTTP commands (your browser sends these internally): GET filename : download POST filename : send a web form response PUT filename : upload simulating a browser with a terminal window: $ telnet 80 Trying Connected to ( ). Escape character is '^]'. GET /index.html...

Who "runs" the internet? Internet Engineering Task Force (IETF): internet protocol standardsIETF Internet Corporation for Assigned Names and Numbers (ICANN): ICANN decides top-level domain namesdomain names World Wide Web Consortium (W3C): web standardsW3C

Brief History began as a US Department of Defense network called ARPANET (1960s-70s)ARPANET initial services: electronic mail, file transfer opened to commercial interests in late 80s WWW created in by Tim Berners-LeeTim Berners-Lee popular web browsers released: Netscape 1994, IE 1995 Amazon.com opens in 1995; Google January 1996 Hamster Dance web page created in 1999 Hamster Dance

Web languages / technologies Hypertext Markup Language (HTML): used for writing web pagesHTML Cascading Style Sheets (CSS): stylistic info for web pagesCSS JavaScript: interactive and programmable web pagesJavaScript PHP Hypertext Processor (PHP): dynamically create pages on a web serverPHP Asynchronous JavaScript and XML (Ajax): accessing data for web applicationsAjax eXtensible Markup Language (XML): metalanguage for organizing dataXML Structured Query Language (SQL): interaction with databasesSQL

Hypertext Markup Language (HTML)HTML describes the content and structure of information on a web page not the same as the presentation (appearance on screen) surrounds text content with opening and closing tags each tag's name is called an element syntax: content example: This is a paragraph most whitespace is insignificant in HTML (ignored or collapsed to a single space) we will use a newer version called HTML5

Structure of an HTML page information about the page page contents

Page title: describes the title of the web page Chapter 2: HTML Basics placed within the head of the page displayed in the web browser's title bar and when bookmarking the page

Paragraph: paragraphs of text (block) You're not your job. You're not how much money you have in the bank. You're not the car you drive. You're not the contents of your wallet. You're not your khakis. You're the all-singing, all-dancing crap of the world. You're not your job. You're not how much money you have in the bank. You're not the car you drive. You're not the contents of your wallet. You're not your khakis. You're the all-singing, all-dancing crap of the world. placed within the body of the page more paragraph examples

Headings:,,..., headings to separate major areas of the page (block) University of Whoville Department of Computer Science Sponsored by Micro$oft University of Whoville Department of Computer Science Sponsored by Micro$oft More heading examples

More about HTML tags some tags can contain additional information called attributes syntax: content example: Next page some tags don't contain content; can be opened and closed in one tag syntax: example:

Horizontal rule: a horizontal line to visually separate sections of a page (block) First paragraph Second paragraph First paragraph Second paragraph should be immediately closed with />

Links: links, or "anchors", to other pages (inline) Search Google or our Lecture Notes. Search Google or our Lecture Notes. uses the href attribute to specify the destination URL can be absolute (to another web site) or relative (to another page on this site) anchors are inline elements; must be placed in a block element such as p or h1

Block and inline elements block elements contain an entire large region of contentblock ◦examples: paragraphs, lists, table cells ◦the browser places a margin of whitespace between block elements for separation inline elements affect a small amount of contentinline ◦examples: bold text, code fragments, images ◦the browser allows many inline elements to appear on the same line ◦must be nested inside a block element

Images: inserts a graphical image into the page (inline) the src attribute specifies the image URL HTML5 also requires an alt attribute describing the image

Line break: forces a line break in the middle of a block element (inline) The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep. The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep. Warning: Don't over-use br (guideline: >= 2 in a row is bad)

Phrase elements :, em: emphasized text (usually rendered in italic) strong: strongly emphasized text (usually rendered in bold) HTML is really, REALLY fun! HTML is really, REALLY fun! as usual, the tags must be properly nested for a valid page