Web Languages What Is a Web Page?

Slides:



Advertisements
Similar presentations
HTML popo.
Advertisements

 To publish information for global distribution, one needs a universally understood language, a kind of publishing mother tongue that all computers may.
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
Chapter 14 Introduction to HTML
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
UNDERSTANDING WEB AND WEB PROJECT PLANNING AND DESIGNING AND EFFECTIVE WEBSITE Garni Dadaian.
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Computer Science 101 HTML. World Wide Web Invented by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland (roughly.
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.
Computer Science 101 Introduction to Web Pages. Origins of the Web Vannevar Bush (Memex, 1945) Ted Nelson (Xanadu, 1968) Doug Englebart and Alan Kay (
DATA COMMUNICATION DONE BY: ALVIN SAMPATH CARLVIN SAMPATH.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Styling and theming Build campaigns in style. What we'll look at... How a web document is structured How HTML and CSS fit together Tools you will need.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
HTML Internet Basics & Beyond. What The Heck Is HTML? HTML is the language of web pages. In order to truly understand HTML, you need to know a little.
1 Chinese Information Processing : Using Computers to Teach and Learn Chinese Week 6 and 7: Creating and maintaining web pages - html and ftp.
Lesson 7 – World Wide Web. What is the World Wide Web?  The content of the worldwide web is held on individual web pages gathered together to form websites.
CA Professional Web Site Development Class 2: Anatomy of a Web Site and Web Page & Intro to HTML.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
Introduction to Web & HTML
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Introduction to the World Wide Web & Internet CIS 101.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
The Internet What is the Internet? The Internet is a lot of computers over the whole world connected together so that they can share information. It.
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)
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
Website Design and Construction Services and Standards.
Web Page Design The Basics. The Web Page A document (file) created using the HTML scripting language. A document (file) created using the HTML scripting.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Web Basics: HTML/CSS/JavaScript What are they?
4.01 How Web Pages Work.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
CISC103 Web Development Basics: Web site:
Chapter 1 Introduction to HTML.
Spring 2009 Kevin Cole Gallaudet University
Introduction to HTML.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Basic HTML PowerPoint How Hyper Text Markup Language Works
Project 1 Introduction to HTML.
The Internet and HTML Code
Addresses on the Web.
HTTP: the hypertext transfer protocol
Internet Programming.
Web Development & Design Chapter 1, Sections 4, 5 & 6
Web Languages What Is a Web Page?
CISC103 Web Development Basics: Web site:
Basic HTML PowerPoint How Hyper Text Markup Language Works
1 Introduction to the Internet.
Introduction to Cascading Style Sheets (CSS)
Web Page Concept and Design :
Secure Web Programming
HyperText Transfer Protocol
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Introduction to World Wide Web
CIS 133 mashup Javascript, jQuery and XML
Web Development 101 Workshop
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Presentation transcript:

Web Languages What Is a Web Page? What is a web page? What happens when you load a web page? Unpublished work © 2013 Project Lead The Way, Inc.

The Web Is Part of the Internet Presentation Name Course Name Unit # – Lesson #.# – Lesson Name The Web Is Part of the Internet TCP/IP connects computers to create the Internet. All computers on the Internet have an IP address, e.g. 140.80.12.60. This address is used as the "To:" and "From:" address in TCP/IP. Some computers on the Internet are web servers, answering requests using the HTTP protocol. Protocols can sit one on top of another. After a handshake, there are more protocols that let a conversation build to a more and more meaningful exchange.

Acronyms Protocols TCP = Transmission Control Protocol Presentation Name Course Name Unit # – Lesson #.# – Lesson Name Acronyms Protocols TCP = Transmission Control Protocol IP = Internet Protocol HTTP = Hypertext Transfer Protocol Languages HTML = Hypertext Markup Language CSS = Cascading Style Sheet Recite the acronyms and their full names out loud. Doing so creates new neural connections in your brain devoted to saying and thinking these phrases.

The Web Uses Client-Server Architecture Presentation Name Course Name Unit # – Lesson #.# – Lesson Name The Web Uses Client-Server Architecture Clients All computers have an IP address Many clients can initiate two-way communication Common clients: Firefox, Chrome, Safari Server All servers have an IP address. e.g., pltw.org  190.93.241.249 Server holds data and web content Common web server program: Apache All Internet communication is end-to-end: two computers, having a two-way conversation. For the web, one of the computers is the client, and the other is the server. The client is a browser application like Safari, Internet Explorer, Firefox, or Chrome. You type in a URL that contains a domain name, and your client application gets the IP address for the server using the Domain Name System – a group of computers that keep track of the IP address for every domain name. Then your client sends packet to that IP address by opening a connection to the server and asking for the web page. NOTE: More information about this is on slide #5.

The Web Uses Protocols IP Header TCP Header HTTP Header HTML Header Presentation Name Course Name Unit # – Lesson #.# – Lesson Name The Web Uses Protocols IP Header TCP Header HTTP Header HTML Header HTML Body Computers communicate using protocols. Protocols determine what some of the 0s and 1s mean in a message. This picture shows the protocols we will address in this lesson. Each protocol specifies a header– certain 0s and 1s with specific meaning. Each protocol has a body where the computer can send additional data. IP and TCP work together to carry a wide variety of payloads, including HTTP. IP addresses the packets. TCP numbers the packets and makes sure that missing packets or packets with errors can be identified. HTTP says “I want this web page.” The details are not so important – unless you’re the one who worries about that level of abstraction. HTTP Body TCP Body IP Body

Web Content Is HMTL, CSS, JavaScript… Presentation Name Course Name Unit # – Lesson #.# – Lesson Name Web Content Is HMTL, CSS, JavaScript… HTML: Marks up meaning of content CSS: Stylizes the content JavaScript: Makes the content interactive <HTML> <HEAD> <TITLE>Great web page</TITLE> </HEAD> <BODY> Some great content </BODY> </HTML> The server responds with data, usually text written in these three languages: HTML, CSS, and JavaScript. Of course, the data also include the words and multimedia that appear on the web page. But the web content has to get from one machine to another. Any two computers on the Internet can exchange packets with each other. The protocols that let them do that can carry web data or any other data.

HMTL: Elements Marked with Tags Presentation Name Course Name Unit # – Lesson #.# – Lesson Name HMTL: Elements Marked with Tags <HTML> <HEAD> <TITLE>Great web page</TITLE> </HEAD> <BODY> Some great content <IMG SRC="beauty.jpg"> </BODY> </HTML> Tags are inside the angle brackets. <HTML> is a tag that starts the HTML element. </HTML> is a tag that ends that elements. Elements can be nested inside other elements. Some elements have only one tag, like the IMG element.

HMTL Elements with Attribute=Value Pairs Presentation Name Course Name Unit # – Lesson #.# – Lesson Name HMTL Elements with Attribute=Value Pairs <HTML> <HEAD> <TITLE>Great web page</TITLE> </HEAD> <BODY> Some great content <IMG SRC="beauty.jpg"> </BODY> </HTML> Most tags can have attributes that describe the element. Attributes are listed inside the tag with a value. This image (IMG) element has a source (SRC) attribute. The value of the source attribute is the string "beauty.jpg", and it tells the browser where to find the image. This value says the browser should ask the server for the file beauty.jpg in the same directory that the HTML came from.

Presentation Name Course Name Unit # – Lesson #.# – Lesson Name CSS: Styling a Page <HTML> <HEAD> <TITLE>Great web page</TITLE> </HEAD> <BODY style="color: #FF00FF"> Some great content <IMG SRC="beauty.jpg"> </BODY> </HTML> CSS is another language used along with HTML. The CSS can be included in the HTML here, although best practice is to keep it in a separate document so that a single style can be applied to many documents. CSS has properties and values. In this example, the HTML body element is being selected for a particular style. The style property is the color. The value of the color is magenta: red and blue are set at 255 (FF) in hexadecimal, while green is 0. Note: "Attribute" and "property" are very similar in meaning. In HTML, the difference is that an attribute is hardcoded in the HTML, while a document property is initialized to the same value as the HTML attribute but the value of the property might be changed by JavaScript acting on the document.

W3Schools and many other organizations have learning resources Presentation Name Course Name Unit # – Lesson #.# – Lesson Name Learning More W3C is the authority http://www.w3.org/ W3Schools and many other organizations have learning resources http://www.w3schools.com/ There is a lot of information on the web about HTML, CSS, and JavaScript. It is easy to find conflicting or outdated information. For a decade, each browser invented its own "standards," creating much confusion. For this reason, it is important to know the authoritative source: W3C, the world wide web consortium, not to be confused with W3schools. W3C is a consortium of companies that maintain the standards for HTML, CSS, and the JavaScript libraries that are included in HTML5. JavaScript is a full computer programming language; only the HTML5 libraries of JavaScript for web documents are maintained by W3C; the core of the language is maintained by another organization, ECMA.