Creating a Basic Web Page

Slides:



Advertisements
Similar presentations
3.02D HTML Overview 3.02 Develop webpages.
Advertisements

Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
XHTML Basics.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 3: XHTML Coding © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
Project 1 Introduction to HTML.
Upgrading to XHTML DECO 3001 Tutorial 1 – Part 1 Presented by Ji Soo Yoon 19 February 2004 Slides adopted from
Developing a Basic Web Page with HTML
1st Project Introduction to 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.
Chapter 14 Introduction to HTML
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
Computer Sciences Department
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
Creating a Simple Page: HTML Overview
_ HTML, XHTML & CSS Sami Niemelä | Module 1: Introduction to digital media: Day 02.
CS 299 – Web Programming and Design Introduction to HTML.
HTML (HyperText Markup Language)
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.
CS134 Web Design & Development Creating a Basic Web Page Mehmud Abliz.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
XHTML1 Building Document Structure Chapter 2. XHTML2 Objectives In this chapter, you will: Learn how to create Extensible Hypertext Markup Language (XHTML)
CS134 Web Design & Development Creating a Basic Web Page Exerted from Mehmud Abliz slides.
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.
1 XHTML محمد احمدی نیا 2 Of 19 HTML vs XHTML  XHTML is a stricter and cleaner version of HTML.  by combining the strengths of HTML.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
A Basic Web Page. Chapter 2 Objectives HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements.
Overview of HTML/XHTML Two Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
HTML: Hyptertext Markup Language Doman’s Sections.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Creating XHTML Documents Essentials for.
HTML Basics BCIS 3680 Enterprise Programming. Web Client/Server Architecture 2  Your browser (the client) requests a Web page from a remote computer.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
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.
Unit 3 — Advanced Internet Technologies Lesson 10 — Introduction to XHTML.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
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 the World Wide Web & Internet CIS 101.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
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.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Basics.
Project 1 Introduction to HTML.
Chapter 1 Introduction to HTML.
Introduction to HTML.
Project 1 Introduction to HTML.
Chapter 1: Introduction to XHTML (part 1)
Markup Languages -Use codes, called tags, to provide instructions about formatting and structure of a website HTML (Hypertext Markup Language) Must be.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Creating a Basic Web Page
Markup Languages -Use codes, called tags, to provide instructions about formatting and structure of a website HTML (Hypertext Markup Language) Must be.
Web Design & Development
Presentation transcript:

Creating a Basic Web Page RTV 420 Interactive Media Creating a Basic Web Page

When you connect to a web page by entering its URL into the browser HTML Source Document When you connect to a web page by entering its URL into the browser Browser instructs your computer to send a message out over the Internet to the computer specified by that URL requests that it sends back a certain document (HTML source doc) HTML source doc describes the content and layout of the web page After your computer receives the html, your browser interprets the html and displays the resulting web page (text/graphics/links etc)

XHTML is a simple, more standardized version of HTML HTML Source Document HTML source document A text-only document Consists of (1) actual text, and (2) tags A tag is an html code that is enclosed in angle brackets <>; used to lay out the web page. XHTML is a simple, more standardized version of HTML XHTML/HTML can be created using a simple text editor like notepad File extension must be .html or .htm

Sample HTML HTML Source Firefox display of the html source

XML (eXtensible Markup Language): HTML, XML, XHTML XML (eXtensible Markup Language): is a set of rules that lets web designers classify their data in a way customized to their needs. Approaches to extensibility include facilities (sometimes called hooks) for allowing users to insert their own program routines, the ability to define new data types, and the ability to define new formatting markup tags. XHTML (eXtensible HyperText Markup Language): A newer version of HTML based on XML Inherits strict syntax rules of XML

Some comparisons of HTML vs. XHTML HTML XHTML Tags aren’t extensible Tags are extensible Tags are not case-sensitive Only lowercase tags are allowed Possible to leave off and ending tag like </body> Tags should appear in pairs Overlapping tags No overlapping tags

Composition of a XHTML Document An XHTML document consists of three main parts: the DOCTYPE the Head the Body

Composition of a XHTML Document <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> ... <title>…</title> </head> <body> … </body> </html>

Creating XHTML The code inside red rectangle (<!DOCTYPE … dtd”>) is a Document Type Definition (DTD), it specifies what type of document this is – in this case an XHTML document. The code inside green rectangle, xmlns specifies the namespace, it tells the browser that all tags contained within the <html> tag belong to the XHTML namespace as defined by the W3C and located at the given URL.

Tags are also called elements XHTML Tags/Elements Tags are also called elements An attribute is a special code that can enhance or modify a tag. They are generally located in the starting tag after the tag name. Basic syntax for xhtml tags and attributes <tag attribute="value">   </tag> All tags must be lower case all values of attributes need to surrounded by quotes

Example <strong>This is bold text…</strong> XHTML Tags/Elements Example <strong>This is bold text…</strong> <p style =“text-align:center">This text will appear aligned to the center…</p>

Two necessary attributes – "name" & "content" <meta> tag <meta> tag is used to specify keywords that describe a document’s contents as well as a short description. Two necessary attributes – "name" & "content" <meta name="keywords" content="baseball, soccer, tennis"/> <meta name="description" content="Sports information page"/>

<p> paragraph tag <p> tag The paragraph tag. Used so separate text within a web page. Container type Will provide line breaks Optional attribute : align (not allowed in XHTML 1.0 Strict though) <p align="center">

<br/> tag Example Is used for line break Example <p> Contact<br /> 2600 Neal St<br /> Texas A&M University-Commerce<br /> Commerce, TX 75429 </p>

<h1> to <h6> Headings <h1> to <h6> Define headers. <h1> defines the largest header. <h6> defines the smallest header. Example <h1>This is header 1</h1> <h2>This is header 2</h2> <h3>This is header 3</h3> <h4>This is header 4</h4> <h5>This is header 5</h5> <h6>This is header 6</h6>

<em> & <strong> tags <em> tag Renders text as emphasized text <strong> tag Renders text as strong emphasized text Example <em>Emphasized text</em><br /> <strong>Strong text</strong><br />

Commenting Source Code Comments are inclosed in <!-- and --> Example <!--This comment will not be displayed--> <p>This is a regular paragraph</p>

<blockquote> tag tag defines the start of a long quotation. To validate the page as strict XHTML, you must add a block-level element around the text within the <blockquote> tag, like this: <blockquote> <p>here is a long quotation here is a long quotation</p> </blockquote>

What is New? New Elements New Attributes Full CSS3 Support HTML5 Basics What is New? New Elements New Attributes Full CSS3 Support Video and Audio 2D/3D Graphics Local Storage Local SQL Database Web Applications

Cascading Style Sheets Styles define how to display HTML elements CSS Basics Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style Sheets can save a lot of work External Style Sheets are stored in CSS files

JavaScript jQuery ASP used to make web pages interactive Other elements JavaScript used to make web pages interactive jQuery make it much easier to use JavaScript on your website. ASP A scripting environment for Microsoft Internet Information Server in which you can combine HTML, scripts and reusable ActiveX server components to create dynamic web pages

Other elements PHP Hypertext Preprocessor -- a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. SQL Structured Query Language. Used to communicate with a database. According to ANSI (American National Standards Institute), it is the standard language for relational database management systems.

Online training – see course outline and use these Intended to be more useful than in-class PowerPoint overviews Class time allocated for going through and using tutorials, then practicing applying the html authoring process Use the provided quizzes Continue to go through these throughout this week