LBSC 690 Session 4 Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.

Slides:



Advertisements
Similar presentations
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Advertisements

Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Introduction to HTML & CSS
WeB application development
Website Design.
XHTML Basics.
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
HTML & XHTML Web Publishing. What is HTML? HTML- Hypertext Markup Language ▫Start with text on your page & add special tags ▫These specific tags produce.
HTML Hypertext Markup Language –First proposed by CERN in 1989 –It is non-linear so it allows you to jump from place to place –Markup refers to the structure.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
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.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Developing a Basic Web Page with HTML
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
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.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
© 2005 ComputerPREP, Inc. All rights reserved. HTML 4.0 and Web Page Design Module I.
1 Lesson 1 Quick HTML Know-How HTML and JavaScript BASICS, 4 th Edition Barksdale / Turner.
Basic Web Page Design. Text book: HTML, XHTML, and CSS: Visual QuickStart Guide, Sixth Edition written by Elizabeth Castro. Software: Adobe® Dreamweaver®
Tutorial 1: Getting Started with HTML5
Basics of HTML.
Creating a Simple Page: HTML Overview
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
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.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
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.
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.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
Introduction to HTML 1 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan.
Web Page Creation Part I ST: Introduction to Web Interface Design Prof. Angela Guercio.
Just Enough HTML How to Create Basic HTML Documents.
Chapter 8 Introduction to HTML and Applets Fundamentals of Java.
HTML Authoring. Design  A good website starts its life in the design stage Layout, Color, Sound, Content, Functionality and Maintainability aspects are.
1 Creating Web Pages Part 1. 2 OVERVIEW: HTML-What is it? HyperText Markup Language, the authoring language used to create documents on the World Wide.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
CA Professional Web Site Development Class 2: Anatomy of a Web Site and Web Page & Intro to HTML.
HTML: Hyptertext Markup Language Doman’s Sections.
HTML Basics BCIS 3680 Enterprise Programming. Web Client/Server Architecture 2  Your browser (the client) requests a Web page from a remote computer.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
LBSC 690 Session 5A Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
LBSC 690 Session 5A Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
Web Page Design Introduction. The ________________ is a large collection of pages stored on computers, or ______________ around the world. Hypertext ________.
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
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…..
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 Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
Basic Web Page Design. Text book: HTML, XHTML, and CSS: Visual QuickStart Guide, Sixth Edition written by Elizabeth Castro. Software: Adobe® Dreamweaver®
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Basics.
Project 1 Introduction to HTML.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Introduction to XHTML.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
HyperText Markup Language
Presentation transcript:

LBSC 690 Session 4 Programming

Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn to write first Contributes to programming problems

Programming Languages Programs are written in a programming language. Two types: Procedural and non-procedural (declarative). Are artificial languages.

Artificial Languages Consist of: A set of symbols (an alphabet) A vocabulary Controlled segment (an authority list) A user-defined segment Syntax Semantics

Levels of Languages “Low” to “high” Machine language Lowest level All languages must be translated into this to run on the computer Unique to each platform Next level: Assembler

Levels (Cont’d) Higher Level Languages: Basic, Pascal, C, Fortran, Cobol, Visual Basic, Visual C, etc. Fourth Generation Languages: NOMAD, QBE, etc. Object Oriented Languages: Smalltalk, C++, Java.

Software Tools Facilitate writing programs: Compilers & Interpreters. Software Development Environments.

Anatomy of a Web Presentation A Web Presentation A collection of one or more Web pages The Web Site A server on the Internet containing one or more Web presentations A Web page An HTML (HyperText Markup Language) document, consisting of text and tags. Has a.html or.htm extension Home page Entry point for a Web presentation

What is HTML? HyperText Markup Language. Based on Standard Generalized Markup Language (SGML). Developed by Tim Berners-Lee Describes the structure of a document. Not its presentation. Does not describe page content. Designed to be used cross-platform. A web browser interprets and displays HTML documents

HTML is a Markup Language Start with text and add special tags around words and paragraphs. Tags indicate different parts of a page and produce different effects in the browser. HTML has a given, defined set of tags. Users cannot create their own.

HTML Versions HTML 2.0. Base set of tags. HTML 3.2. Second release. HTML 4.0. Current generation. Includes new features for flexibility. HTML Has corrections for 4.0.

What do HTML Files look like? Contain: Text of page itself, Special instructions called HTML tags indicating page elements, structure, formatting and hypertext links to other pages or to included media. Look at HTML sources. Display the HTML source code.

Viewing HTML Source Code 1. Start your Web browser 2. Display the Web page you want to view 3. Click “View” 4. Click “Source” (In Netscape click “Page Source”

Assignment 2:Creating Web Site Use a text editor. Saves files in ASCII format. In Unix, pico is a text editor, In Windows, Notepad and DOS Edit are text editors. View your created pages with browser. Create a Web site in your public WAM directory. View it again.

Tags Each HTML tag gives a specific instruction or command and requires beginning and ending angle brackets (not case sensitive): Most tags have an opening and a closing tag: For example: Text {The forward slash indicates the end.}. This tag identifies the content of this file as a Web page.

Tags (Cont’d.) & tag: Specifies that the lines in it are prologue, e.g., the title: & & tags: Encloses the remainder of the text and other contents (links, pictures, etc). & tags: Indicates beginning & end of a new paragraph. : Indicates start of a new line. (No ).

Tags (Cont’d). Blank spaces require special codes; “&nbsp” Headings are used to divide and organize sections of text.(Can be up to 6 levels). & up to &. To use preformatted text, e.g., tables: &.

TAGS (Cont’d.) To add comments use the Comments tag:. Certain tags have attributes: E.g.,

LISTS HTML defines different kinds of lists: Ordered: &. Each list item is indicated by. Unordered (bulleted) lists: &. Glossary lists:. NOTE: Nested lists can be created.

IMAGES Can be added to Web pages Tag is: where “?” specifies location of image on your computer. Should use GIF or JPEG images. Thumbnail images Can be used in background.

LINKS Can create links: To other pages on the Web:. Within a Web page:. Links to images:. Links to .mailto:? Also links to Files and FTP sites. NOTE: Must add after above tags.

OTHER CAPABILITIES Create Tables Create Forms Create Frames Divide browser windows into sections, each displaying a different Web page. Create Advanced Web Pages Use of JavaScript & Java Applets

Cascading Style Sheets Are used to define formatting and layout of information on Web pages For a single page or multiple pages Can specify formats in one central location Provides greater capability than using individual tags on each page. Can focus use on specific elements: classes

Sources of Help for HTML Specifications: A Beginner’s Guide to HTML: HTMLPrimer.htmlwww.ncsa.uiuc.edu/General/Internet/WWW/ HTMLPrimer.html. Laura Lemay,Teach yourself Web Publishing with HTML 4 in a Week, Fourth Edition,SamsNet Ed Tittel, HTML for Dummies, IDG Books, 1997.