Today’s topics Networks & the Internet Basic HTML

Slides:



Advertisements
Similar presentations
HTML popo.
Advertisements

1 تقنيات الانترنت عال457 HTML. 2 HTML  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web. HTML is a text formatting.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
V Summer workshop in Guildford County, July, 2014.
HTML Computing Concepts HTML - An Introduction 1.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Creating Web Pages Getting Started. Overview What Web Pages Are How Web Pages are Formatted Putting Graphics on Web Pages How Web Pages are Linked Linking.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
Computer Science 101 HTML. World Wide Web Invented by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland (roughly.
CompSci Today’s topics Networks & the Internet Basic HTML ä The basis for web pages ä “Almost” programming Upcoming ä Connections ä Algorithms.
CS105 Introduction to Computer Concepts HTML
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
Chapter 16 The World Wide Web Chapter Goals ( ) Compare and contrast the Internet and the World Wide Web Describe general Web processing.
CS117 Introduction to Computer Science II Lecture 1 Introduction to WWW and HTML Instructor: Li Ma Office: NBC 126 Phone: (713)
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
HTML Hyper-Text Markup Language or tags. HTML is a “tag” language Open and close tags Tags identified with angle brackets Basic format content (shorthand.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Unit 1 — HTML BASICS Lesson 2 — HTML Organization Techniques.
Getting Started with HTML Please use speaker notes for additional information!
CompSci 4 HTML Sept 7, 2010 Prof. Susan Rodger. CompSci 4 Last Tuesday –How to start a web page, copy files to Duke account –Need to install a file transfer.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
HTML HTML: Hypertext Markup Language. The basic language of the World Wide Web. Developed around 1991 at the CERN lab on the French-Swiss border by Tim.
Web Page Design Introduction. The ________________ is a large collection of pages stored on computers, or ______________ around the world. Hypertext ________.
CPS Today’s topics Basic HTML The Internet Upcoming ä Networks and the Internet ä Writing programs in pseudocode Reading Great Ideas Chapters 1,
HTML HyperText Markup Language ©Richard L. Goldman July 15, 2003.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
CompSci Today’s topics Networks & the Internet Basic HTML ä The basis for web pages ä “Almost” programming Upcoming ä Connections ä Algorithms.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Writing Web Pages in HTML HTML.1 The Web  Lots of computers connected together in a collection of networks  HyperText Markup Language (HTML) is a common.
CompSci Today’s topics Basic HTML  The basis for web pages  “Almost” programming Upcoming  Programming  Java Reading Great Ideas Chapters 1,
CompSci 4 – Jan 18, 2005 Last time – Be a Robot –Turn in writeup Assignment 1 due Thursday Today – Learn HTML –Laptop cart Thursday – bring laptop if can.
CompSci 1 Lecture 2 HTML Webpages. Today’s Topics Basic HTML The basis for web pages “Almost” programming Upcoming Programming Java Reading Great Ideas.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
Chapter 4 HTML Tags. HTML is written in something called tags. Tags come in pairs, an opening one and a closing one. The first pair of tags we'll write.
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.
HTML Basics.
Extended Learning Module F
What is HTML? Acronym for: HyperText Markup Language
Marking Up with XHTML Tags describe how a web page should look
Computer Fundamentals 2
Introduction to HTML.
Elements of HTML Web Design – Sec 3-2
HTML: HyperText Markup Language
11 October Building a Web Site.
Elements of HTML Web Design – Sec 3-2
Web Info for Project Presentations
CSCI-235 Micro-Computers in Science
Uppingham Community College
Introduction to XHTML.
Elements of HTML Web Design – Sec 3-2
Chapter 4 - Introduction to XHTML: Part 1
Web Programming– UFCFB Lecture 5
Computers and Scientific Thinking David Reed, Creighton University
Web Design and Development
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Chapter 16 The World Wide Web.
Html.
Introduction to HTML.
Basic HTML Workshop.
Marking Up with XHTML Tags describe how a web page should look
HTML Basics Mr. Fazzalari.
Marking Up with XHTML Tags describe how a web page should look
WJEC GCSE Computer Science
Marking Up with XHTML Tags describe how a web page should look
HTML: A brief introduction
Presentation transcript:

Today’s topics Networks & the Internet Basic HTML The basis for web pages “Almost” programming Upcoming Connections Algorithms Reading Internet history readings Great Ideas Chapters 1 Computer Science, Chapter 4

Networks Need to communicate. How to do it? Robustly, efficiently, securely Classifications LAN vs. WAN Closed (proprietary) vs. Open Topologies

The Internet Internet: Started by DARPA in 1973 Network of networks Connect networks through routers and bridges Internet: Started by DARPA in 1973

The World Wide Web Servers disseminate hypertext documents Hypertext is text with a link or reference Uniform resource locator (URL): unique address of data on web HyperText Markup Language (HTML) is a common formatting language for the web Tags are non-printing formatting markers Identified by angle brackets (i.e. <TAG> ) Example: <TITLE>The Human Tornado</TITLE> Come in delimiting pair General Goals Platform independent Text Specification (also called a Markup Language) Links to other network resources

Delimiting with tags First tag says, “Begin mode” Second tag (containing “/”) says, “End mode” So <TITLE>The Human Tornado</TITLE> means Begin title mode The text “The Human Tornado” is in title mode End title Using this construct, we can nest several different modes and have interesting behavior Good tutorials on HTML http://www.w3.org/MarkUp/Guide/ http://archive.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html http://www.w3schools.com/html/ In lab, you will create a webpage

HTML Some General HTML rules For tags, case doesn’t matter, e.g., <html> = <HTML> In the text, spaces don’t matter: it will decide! (we call that “free format”) <br> starts a new line Headings Use <hn> to specify heading where smaller n designates more important heading For example <h1> - - - </h1> is largest, boldest heading <h4> - - - </h4> designates a fairly minor heading

HTML Basic Web Page Structure <html> <head> <title> Ted’s Home Page </title> </head> <body bgcolor=”White”> <center> <h1> Ted’s Page </h1> </center> Welcome to Duke University! <br> <i> more to come … </i> </body> </html>

HTML Want to link things together! Hypertext (from the Webopedia) A special type of database system, invented by Ted Nelson in the 1960s, in which objects (text, pictures, music, programs, and so on) can be creatively linked to each other. An anchored link: <a HREF=”http://www.duke.edu”>The Duke Web Page</a> Produces link to URL specified in HREF and display info between <a> tags: The Duke Web Page

HTML Other useful info For italics or emphasis use <i> or <em> For darker or bold use <strong> or <b> For text space exactly as typed (not free format) use <pre>

HTML Specifying Colors Can be specified in different ways e.g., for standard colors can specify “white” or “red” Can specify arbitrary colors by specifying the amount of red, blue, and green involved. (RGB) Uses base 16 arithmetic: 0, 1, …, 9, a, b, c, d, e, f Red: “ff0000” Green: “00ff00” Blue: “0000ff” Black: “000000” Gray: ”7f7f7f” White:”ffffff” Yellow: ”ffff00” Orange: “ff7f00” Purple: ”c000e0” Can experiment!

HTML More useful HTML Bulleted list <ul> … </ul> <li> for items - - - Ordered list <ol> … </ol> Can nest arbitrarily deep - - lists within lists Tables <table border=1> <tr> <td> Cell 1 </td> <td> Cell 2 </td> </tr> <tr> <td> Cell 3 </td> <td> Cell 4 </td> </tr> </table> produces simple table Images <img src=”http://www.cs.duke.edu/~forbes/construct.gif”> displays image

HTML/Web/UNIX practice In UNIX, your web page folder is found in a standard location: ~userID/public_html/ and for OIT Duke files is accessed with a web browser at //www.duke.edu/~userID Many people don’t code in raw HTML Save as Web Page in Microsoft Word Netscape Composer, Macromedia Dreamweaver, Bluefish These all generate HTML for you View other people’s web page source (HTML) from most browsers -- learn from others