The Web and HTML Tutorial Building a Webpage. Chapter Overview m The World Wide Web – Web servers, Web browsers and Web pages m HTML Introduction m Using.

Slides:



Advertisements
Similar presentations
Web Development & Design Foundations with XHTML
Advertisements

Website Design.
1. Content – Collective term for all text, images, videos, etc. that you want to deliver to your audience. 2. Structure – How the content is placed on.
The Client-Server Model for the Web 1. A Web Client (usually in the form of a web browser) makes an HTTP request to a specific web server. 2. The Web Server.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
Project 1 Introduction to HTML.
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.
Web Design MGS 351- Renee Cerullo. What makes the Internet work HTTP - Hyper Text Transfer Protocol DNS - Domain Name Server DNS servers are used to map.
Tutorial 1 Developing a Basic Web Page
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.
HTML Introduction HTML
Chapter 1 Understanding the Web Design Environment
Developing a Basic Web Page with HTML
HTML CS1315 Fall What You Need to Get Started A *simple* text editor to write HTML – Windows: notepad – Mac: textedit (be sure to pick Format 
1st Project Introduction to HTML.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Hypertext Markup Language (HTML) Created by Sarah Dooley & Amanda Foster Edited and presented by Caroline Hallam September 9, 2014.
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.
Chapter ONE Introduction to HTML.
Basic Web Page Design. Text book: HTML, XHTML, and CSS: Visual QuickStart Guide, Sixth Edition written by Elizabeth Castro. Software: Adobe® Dreamweaver®
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Chapter 1 Variables in the Web Design Environment
Getting Started with Dreamweaver
Intro to MIS – MGS351 Building a Webpage. Chapter Overview m The World Wide Web – Web servers, Web browsers and Web pages m HTML Introduction m Using.
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
Web Standards Coding Benefits of Web Standards Coding – Variety of user agents Same marked up content can be read by browser, smartphones, screen readers.
Creating a Simple Page: HTML Overview
Creating and Editing a Web Page
Creating a Basic Web Page
Ch 5 HTML and CSS Web Standards Solutions A Web Standardistas’ Approach.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
DATA COMMUNICATION DONE BY: ALVIN SAMPATH CARLVIN SAMPATH.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
CS117 Introduction to Computer Science II Lecture 1 Introduction to WWW and HTML Instructor: Li Ma Office: NBC 126 Phone: (713)
Bare bones notes. Suggested organization for main folder. REQUIRED organization for the 115 folder.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
CSCE Chapters 1 and 2 CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department of Computer Science & Engineering.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
XHTML Introduction to Xtensible HyperText Markup Language Screen Readers – Click the Notes button in the lower right corner.
Overview of HTML/XHTML Two Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
1 Chinese Information Processing : Using Computers to Teach and Learn Chinese Week 6 and 7: Creating and maintaining web pages - html and ftp.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Creating XHTML Documents Essentials for.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes The Web Wizard’s Guide to XHTML by Cheryl M. Hughes.
Tutorial 1 Developing a Basic Web Page. Objectives Learn the history of the Web and HTML Describe HTML standards and specifications Understand HTML elements.
HTML A brief introduction HTML1. HTML, what is? HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup.
Website Design, Development and Maintenance ONLY TAKE DOWN NOTES ON INDICATED SLIDES.
Lesson 2 – Unit B. Quick review 1. What is the name of the eGCC host that you ftp your files? 2. What type of software do you use to create and edit web.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
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.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
CS7026: Authoring for Digital Media HTML Authoring
Chapter 1 Introduction to HTML.
Project 1 Introduction to HTML.
Building a Webpage Extended Learning Module F
Introducing HTML & XHTML:
Unit A.
4.01 How Web Pages Work.
Presentation transcript:

The Web and HTML Tutorial Building a Webpage

Chapter Overview m The World Wide Web – Web servers, Web browsers and Web pages m HTML Introduction m Using HTML Tags m Moving to XHTML m General Webpage Structure m Designing with Standards m UB Web Environment

Web Pages m Viewing a web page involves using a web browser (IE, Firefox, Mozilla) to connect to a networked machine running web server software (IIS, Apache). This action loads an HTML file from the web server and sends it to your computer across the Internet using the HTTP and TCP/IP protocols, and the file is displayed by your web browser software as a web page.

Web Server Stats

Useful Web Stats m m gs.statcounter.com – OS – Browsers – Display Resolution

W3C m Founded in 1994 – World Wide Web Consortium m Creates specifications and guidelines that are intended to promote the web’s evolution and ensure that web technologies work well together m Specifications for: HTML, CSS, XML, XHTML, DOM, etc…

W3C m Not all browser companies follow or adhere to these guidelines – It was not until FireFox, Netscape 7 and IE 6 did browsers truly support the W3C Web Standards m Web pages may look different in two browsers – Browsers support different standards, not all of them and support them in different methods

HTML Introduction m HTML (Hypertext Markup Language) is the code used to build web pages. Web pages are text files with HTML code. m You can view the HTML code on any webpage by clicking on Source from the View menu in a web browser. m HTML files usually have either.htm or.html file extension

Default Web pages m Default page appears when visiting a website without specifying the file name in the URL. – displays m Default pages are usually either index.htm, index.html, index.asp, index.cfm, default.htm, default.html, default.asp or default.cfm. These options are configured in the web server.

Using HTML Tags m Most HTML tags have an opening and corresponding closing tag indicated by a slash /. – … m Anything between the tags, denoted by the “…” in the above examples, will be modified according to the behavior described by the tag m *All XHTML tags should be closed

HTML Caveats m Extra spaces (beyond one) in the code and any line breaks are ignored by the browser when rendering the HTML page. m is a special symbol that can be used to insert extra spaces. m or can be used to create necessary line breaks.

HTML Caveats

Moving to XHTML m XHTML (Extensible Hypertext Markup Language) is a hybrid of HTML and XML and should be used to code websites to meet the latest standards set by W3C. – All tags must be closed - including tags like – All tags should be in lowercase except for the DOCTYPE tag. – All tag attributes must be quoted and have values – CSS are used for page formatting.

General Webpage Structure … …

DOCTYPE Options m DOCTYPE – 3 types to choose from m Transitional – more easy going and flexible. Most people are using this m Strict – everything must be perfect and there is no flexibility. m Frameset – Allows you to use frames on your page

Designing with Standards m Does not mean “designing for the latest browsers only” m Includes structural languages like XHTML and XML and presentation languages like CSS m Even the perfectly designed site will never look identical in all browsers but it should always function and look very similar in any browser

Designing with Standards m Lowers production and maintenance costs m Makes sites more accessible to users who have special needs m Makes sites cross platform and browser – PDAs, Cell phone browsers, IE, Mozilla, Netscape, Opera Screen Readers m Viewable on handheld devices

Designing with Standards Structure: m When authored correctly XHTML will work in all web browsers, screen readers, text browsers, and handheld devices m Valid/Semantic Code when: – Contains no errors – Tags are chosen according what they mean- eg – h1-> headline – Code can be valid but not semantic

Designing with Standards Structure: m A markup language (XHTML) contains text data formatted according to its structural (semantic) meaning. – Headline, paragraph, list etc.. Example: this is a paragraph of text News & Events structure presentation behavior

Designing with Standards m Presentation languages (CSS) format the web page, controlling the typography, placement, color, etc… m Due to the separation of structure from presentation you can easily change one without affecting the other m CSS is implemented with inline, internal or external style sheets m Large sites may be able to reduce bandwidth costs too

Cleaner code with CSS WITHOUT CSS heading of an article WITH CSS heading of an article

Accessibility m Intended to ensure that our work will be usable and available to the largest possible number of people m Hot topic in the web design industry m Laws are in place to make sure companies and web designers adhere to certain rules

Who does it affect? m Visually impaired – blind or limited site or elderly m Physically disabled m Color blind m Motor impaired – rather buy online than deal w/the hassle of going to a store m Any thoughts on who else? There are a whole bunch more!

Who does it affect? m Search engine crawlers – extreme blind user – Called the “Blind Billionaire” – Biggest category of blind users m PDA users m Text only browsers m Cell Phone users

UB Web Environment m UB provides web space for each student on the UBUNIX servers which run the Apache webserver. Your webpage can be viewed in any of the 3 locations. – – – wings.buffalo.edu/~djmurray

UB Web Environment m URLs and files are case sensitive because the UNIX OS is case sensitive. – - error! – - works! m Windows servers running IIS are not case sensitive. – - works! – - works!

UB Web Environment m Remember that a webpage is simply a file stored on a webserver in a particular location. m Your UB homepage is stored in the public_html directory of your S: drive. Anything in that directory is technically on the web.

UB Web Environment m It’s easiest to work from a lab computer since they have direct access to the S: drive folders. m Enable your homepage first. – m Use Windows Notepad to edit the index.html file in your public_html folder.

UB Web Environment m If you are using a computer on the UB network (Resnet, wireless, VPN), you can map a network drive and create your own S: drive as explained at this website. m

UB Web Environment m Another option is using FTP software (Filezilla or Fetch) to upload files to your UB web space using these settings. VPN also required when using from off campus. m Host: ubunix.buffalo.edu m Server Type: SFTP – SSH File Transfer Protocol m Login Type: Ask for password

Next Steps… m The hard part is often understanding how the web environment works and where to save the HTML files so they appear on the web! m Now its time to try some HTML tags.