Georgia Institute of Technology Making Text for the Web Barb Ericson Georgia Institute of Technology March 2006.

Slides:



Advertisements
Similar presentations
Farhan Nisar University of Peshawar
Advertisements

HTML Basics Customizing your site using the basics of HTML.
Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
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.
A guide to HTML. Slide 1 HTML: Hypertext Markup Language Pull down View, then Source, to see the HTML code. Slide 1.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
MIS 425 Lecture 1 – HTML Basics and Web Page Design Instructor: Martin Neuhard
HTML Programming last updated 9/12/05 at 1:30pm HyperText Markup Language Reference: – HTML BasicsHTML Basics An HTML program is a set of paired tags that.
HTML Computing Concepts HTML - An Introduction 1.
Basic HTML UCR Webmasters Support Group Derk Adams.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
Computer Sciences Department
CS105 Introduction to Computer Concepts HTML
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
HTML (HyperText Markup Language)
1 Essential HTML coding By Fadi Safieddine (Week 2)
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
Understanding HTML Code
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
F-1 Management Information Systems for the Information Age Copyright 2004 The McGraw-Hill Companies, Inc. All rights reserved Extended Learning Module.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
Chapter 4 (through page 110) Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
15.2 More Basic HTML. More Basic HTML Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features.
Just Enough HTML How to Create Basic HTML Documents.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
HTML Basic IST2101. Keep In Mind Programming can be time consuming. Plan ahead!
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.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
Introduction to HTML. HTML Introduction HTML – Hypertext Markup Language are the instructions that tell a browser how to lay out the information (text,
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
The Teacher Computing HTML HyperText Markup Language.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
HTML HyperText Markup Language. Text Files An array of bytes stored on disk Each element of the array is a text character A text editor is a user program.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML BASIC IST 210: Organization of Data IST210 1.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Your HTML website creating your first html file. Creating an HTML FIle Open note pad from accessories, programs. Write code. Save and view. In 3 Steps.
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 1 Lecture 2 HTML Webpages. Today’s Topics Basic HTML The basis for web pages “Almost” programming Upcoming Programming Java Reading Great Ideas.
Georgia Institute of Technology Making Text for the Web part 2 Barb Ericson Georgia Institute of Technology March 2006.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 ITEC 4830 Graphics Design Chapter 1 Dreamweaver MX 2004 Basics.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
1 CSC160 Introduction to HTML. 2 What Is a Computer?  A computer is a programmable machine that can store data, interacts with users and devices, and.
1 Foundation of HTML Web Page Design. 2 Safe Web Fonts: Used by most computers regardless of environment or platform  Times New Roman  Arial  Courier.
Basic Web Publishing M. Scott Gartner 7/15/98.
HTML Basics.
HTML basics
Extended Learning Module F
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
What is HTML? Acronym for: HyperText Markup Language
XHTML/CSS Week 1.
COMPUTING FUNDAMENTALS
Computers and Scientific Thinking David Reed, Creighton University
HTML HYPERTEXT MARKUP LANGUAGE.
Presentation transcript:

Georgia Institute of Technology Making Text for the Web Barb Ericson Georgia Institute of Technology March 2006

Georgia Institute of Technology Learning Goals Media Goals –Learn basic HTML –Write programs that generate HTML –Use a database to generate HTML Computing Concepts –Introduce hexadecimal for describing colors –Create and use helper methods –Throw an exception –Introduce the “unnamed” package –Introduce a map of keys to values –Use generics –Use an iterator to loop through a collection –Introduce SQL and relational databases

Georgia Institute of Technology HTML HyperText Markup Language –The main language used in web pages Not a programming language! –Grew out of SGML Structured General Markup Language –Used to describe the structure of documents This is a title This is a title This is a heading Heading 1 This is a paragraph Start of a new paragraph We will be using XHTML –HTML defined in terms of XML XML is an eXtensible Markup Language

Georgia Institute of Technology Structure of an HTML Page DOCTYPE Html tag Head tag –Title tag Body tag –Heading tag –Paragraph tag Notice the closing tags –Start with like

Georgia Institute of Technology HTML Exercise Open a simple editor (like notepad) and type in the HTML from the previous page Save it as Simple.html Double click on it to open in a browser

Georgia Institute of Technology Headings, Style and New Line Tags Headings –h1 – h6 –Smaller numbers are more prominent Style tags –Emphasis … –Italics … –Bold … Force a new line by adding –Note that this is just one tag not a pair of starting and ending tags

Georgia Institute of Technology Inserting an Image To insert an image use: –If the source (src) is a file name like flower1.jpg it should be in the same directory as the HTML page If it is a pathname –Resolve the path relative to directory with the HTML page src="images/flower1.jpg" Current Directory HTML page flower1.jpg Current Directory HTML page images directory

Georgia Institute of Technology More on the Image Tag Specify the width in pixels – The height will adjust to keep the same aspect ratio (height to width) Specify the height in pixels – The width will adjust to keep the same aspect ratio Specify alternative text to describe the image (for audio browsers) –

Georgia Institute of Technology Hyperlinks and Lists Add a Hyperlink – Text to click on Bulleted List – – Item 1 – Item 2 – Numbered List – – Item 1 – Item 2 – Test Georgia Tech Item 1 Item 2 Item 1 Item 2

Georgia Institute of Technology Tables Tables have rows and each row can have many table data items Tables can have borders –border="size" Tables can have headers –

Georgia Institute of Technology Specifying Colors Color in HTML is specified in hexadecimal –Base 16 –Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F –Use powers of 16 times the value of the digit A is 10, B is 11, C is 12, D is 13, E is 14, F is 15 So 14 is (1 * 16 1 ) + (4 * 16 0 ) = 20 And C2 is (12 * 16 1 ) + (3 * 16 0 ) = 195 –Each digit of hexadecimal corresponds to 4 bits Colors are written as rrggbb –FFFFFF is white, is black, FF0000 is red, 00FF00 is green, 0000FF is blue

Georgia Institute of Technology Exercise Create a simple HTML page with a 2 by 2 table with 4 images in the table –Limit the height of the images in the table to 100 pixels –Be sure to provide alternative text that describes the images –Set the background color in the table to a pale yellow r_codes/ Also include a bulleted list of 4 friends And a hyperlink to something on the web

Georgia Institute of Technology Summary HTML is the language of the Web –Not a programming language Specify HTML with tags –Most have starting tags and ending tags … –Some items only have one tag You can create tables and lists in HTML – 1 You can insert images and hyperlinks