CompSci 1 Lecture 2 HTML Webpages. Today’s Topics Basic HTML The basis for web pages “Almost” programming Upcoming Programming Java Reading Great Ideas.

Slides:



Advertisements
Similar presentations
Anatomy of a Web Page. Parts of a Web Page Title Bar Navigation Tool Bar Location Bar Header Graphic/Image Text Horizontal Rule Links.
Advertisements

HTML popo.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
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.
How Tags are used to form your Web Page
Introduction to HTML Bent Thomsen Institut for Datalogi Aalborg Universitet.
HTML Computing Concepts HTML - An Introduction 1.
Lecture 1 COMP1900 Website Construction Michele Huston Web Manager THE AUSTRALIAN WAR MEMORIAL
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
Computer Science 1611 Internet & Web Creating Webpages Hypertext and the HTML Markup Language.
CIS101 Introduction to Computing
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
MA10126 Introduction to HTML Gavin Shaddick
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
HTML Introduction HTML
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
1 Introduction to HTML. 2  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language  of Web Pages on the World Wide Web. HTML is a.
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 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
HTML (HyperText Markup Language)
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.
Reading & Exam Zeid: Chapter 9: XHTML Essential p Read before EXAM 1 Exam is Monday Oct. 25 th Review on Friday Oct. 22 nd.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Chapter 4 (through page 110) Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
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.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
Exploring the Digital Domain HTML Basics. HTML Hypertext Markup Language Standard (ASCII) text with embedded format codes Most HTML tags are paired Tags.
Just Enough HTML How to Create Basic HTML Documents.
Producing Web Pages using HTML The Computer as an Educational Tool: “ The Computer as an Educational Tool: Productivity and Problem Solving” ©Richard C.
IS1811 Multimedia Development for Internet Applications Lecture 4: Introduction to HTML Rob Gleasure
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
CPT 499 Internet Skills for Educators Session Ten Class Notes.
Georgia Institute of Technology Making Text for the Web Barb Ericson Georgia Institute of Technology March 2006.
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.
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.
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
Getting Started with Web Page Creation for Fuqua Authors Spring 1999.
CPS Today’s topics Basic HTML The Internet Upcoming ä Networks and the Internet ä Writing programs in pseudocode Reading Great Ideas Chapters 1,
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
CompSci Today’s topics Networks & the Internet Basic HTML ä The basis for web pages ä “Almost” programming Upcoming ä Connections ä Algorithms.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
HTML HyperText Markup Language Victoria E. Kozlek.
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.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
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.
Basic Web Publishing M. Scott Gartner 7/15/98.
CSCI-235 Micro-Computers in Science
Today’s topics Networks & the Internet Basic HTML
Introduction to XHTML.
Computers and Scientific Thinking David Reed, Creighton University
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Presentation transcript:

CompSci 1 Lecture 2 HTML Webpages

Today’s Topics Basic HTML The basis for web pages “Almost” programming Upcoming Programming Java Reading Great Ideas Chapters 1, 2

HTML WWW: Lots of computers connected together in a collection of networks. HyperText Markup Language (HTML) is a common formatting language for the web Non-proprietary format based. Can be created and processed by a wide range of tools. simple plain text editors - you type it in from scratch. sophisticated WYSIWYG authoring tools. Described/developed by HTML Working group. Used by the World Wide Web (WWW) global information initiative since 1990

HTML The HTML working group have a strong focus to: Describe existing features before developing new features Base specification on existing practice Express the relationship of HTML to URIs, MIME, SGML and HTTP Define conformance levels Define transition possibilities and compatibilities between versions and levels General Goals Platform independent Text Specification (also called a Markup Language) Links to other network resources

Tags are non-printing formatting markers Identified by angle brackets (i.e. ) Example: The Human Tornado Come in delimiting pair First tag says, “Begin mode” Second tag (containing “/”) says, “End mode” So The Human Tornado means 1.Begin title mode 2.The text “The Human Tornado” is in title mode 3.End title HTML

HTML Document Tags MUST be the first and last tags in a HTML document Contain all of the document's header information. Such as… Title of your document Will appear at the top of the browser's title bar, and also in the history list, bookmark file ( if you create a bookmark to a page.) Contains all the stuff that gets displayed in the browser window Comment Tags

HTML Basic Text Structures Headings: » Nth Heading Paragraph: » Text of the paragraph goes here. Line Break: » Blockquote: »...text...

Delimiting with tags Using this construct, we can nest several different modes and have interesting behavior. Good tutorials on HTML In lab1, you will create a HTML webpage using a text editor

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

HTML Basic Web Page Structure Ted’s Home Page Ted’s Page Welcome to Duke University! more to come …

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: The Duke Web Page Duke Web Page Produces link to URL specified in HREF and display info between tags: The Duke Web Page The Duke Web Page

HTML Ordered list … using for items Bulleted list … using for items Can nest arbitrarily deep - - lists within lists

HTML Other useful info For italics or emphasis use or For darker or bold use or For text space exactly as typed (not free format) use

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: “ ” Gray: ”7f7f7f” White: ” ffffff ” Yellow: “ ffff00 Orange: “ ff7f00 ” Purple: “ c000e0 ” Can experiment!

HTML Tables Cell 1 Cell 2 Cell 3 Cell 4 produces simple table

Images g displays image Absolute reference: begins with Relative reference: HTML

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 // 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 (WYSIWYG) View other people’s web page source (HTML) from most browsers -- learn from others

Monday’s topic Introduction to Java Read GI Chapter 2 ( to page 39) Lab starts Tuesday (05/24) Prelab 1 online (due before lab!)