Creating a Simple Page: HTML Overview

Slides:



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

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.
HTML: HyperText Markup Language Hello World Welcome to the world!
WeB application development
Website Design.
XHTML Basics.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
XHTML & CSS 2 By Trevor Adams. Last week XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 3: XHTML Coding © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
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.
Tutorial 1 Developing a Basic Web Page
Developing a Basic Web Page Posting Files on UMBC
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
© Ms. Masihi 1.  A web page is created using a language called, Hypertext Markup Language, better known as HTML Code.  HTML is a user friendly language.
Review HTML  What is HTML?  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Creating a Basic Web Page
XML introduction to Ahmed I. Deeb Dr. Anwar Mousa  presenter  instructor University Of Palestine-2009.
_ HTML, XHTML & CSS Sami Niemelä | Module 1: Introduction to digital media: Day 02.
CS 299 – Web Programming and Design Introduction to HTML.
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 (HyperText Markup Language)
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
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.
Tutorial 1 Developing a Basic Web Page. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives – Lesson 1 Introduction to the.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
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.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
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.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Cascading Style Sheets Orientation Learning Web Design: Chapter 11.
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.
Creating Webpage Using HTML
IS1811 Multimedia Development for Internet Applications Lecture 4: Introduction to HTML Rob Gleasure
Internet Web Publishing III. Intro to Cascading Style Sheets Patricia Roberts.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
HTML: Hyptertext Markup Language Doman’s Sections.
ECA 228 Internet/Intranet Design I Intro to Markup.
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
1 Web Application Programming Presented by: Mehwish Shafiq.
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.
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.
DYNAMIC HTML What is Dynamic HTML: HTML code that allow you to change/ specify the style of your web pages. Example: specify style sheet, object model.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
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.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
HTML. HTML: What is it? – HTML stands for Hyper Text Markup Language – An HTML file is a text file containing small markup tags – The markup tags tell.
Creating Your 1 st Web Page. Tags Refers to anything between on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing.
Cascading Style Sheet CSS Closing Switch Closing Tag Code View
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.
Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Structure & syntax
Coding, Testing and Valdating a Web Page
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

Creating a Simple Page: HTML Overview 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 Most tags use this method: <> - the start tag </> - the end tag HTML uses common sense names for tags <p> paragraph, <table> table, <title> title

A Brief History of HTML The base set of tags is referred to as HTML 2.0 Standard set by the W3C Set of tags all browsers must support In 1996, HTML 3.2 specification created by group of vendors and W3C Includes tables, applets, text flow around images Backward compatible with HTML 2.0 In 1997, HTML 4.0 incorporated: DHTML, Cascading Style Sheets and Frames

Enter HTML 5 New Web technologies do not handle the older versions of HTML The new HTML Standard is HTML5 This standard is known as HTML 5 Similar to HTML 4.0 Additional rules are needed to make code compliant

HTML Describes the Page Structure Documents have common elements: Lists Paragraphs Titles Headings Tables HTML also defines character styles like bold and italicize Each element has a name and is contained in a tag

HTML Does not Describe Page Layout HTML doesn’t set how a page will look when viewed Some browsers might use different default styles than others As a Web designer, pages you create could look drastically different from system to system and browser to browser

HTML Documents HTML code is stored as an ASCII text file Any text editor can be used to create these files: Notepad, TextEdit, EditPad etc. You could use a web authoring tool to write your HTML code, but they often self-generate code Focusing on the basics with a simple text editor will help you “really” learn to code

Naming Conventions For windows-based browsers, you should save the file with the extension of .htm or .html Never use spaces or special characters like # or @ in your filenames Filenames may be case-sensitive depending on the server Keep filenames short You can set your own conventions

Sample Page <html> <head> <title>My First Webpage!</title> </head> <body> <p>WOW! <br > This is pretty cool! </p> </body> </html>

What it Means <html> beginning HTML encoding. <head> beginning the header section. <title>My First Webpage!</title> title of page </head> ending the header <body> beginning the body of the document. <p>WOW! starting of a paragraph <br > line break This is pretty cool! </p> ending of a paragraph </body> ending of the body section </html> ending of HTML encoding.

Nesting of HTML Tags In the previous code example, notice how the <title> </title> tags fall in between the <head> </head> tags Also see how the <body> </body> encloses all the text you see on the screen Make sure you always use proper nesting of tags

Choosing a Good Title The title may be required, but it is also useful The title is displayed in user bookmarks and favorites Descriptive titles improve accessibility Search engines rely heavily on titles Keep the title length in check so it will fit in the title area

Attributes Attributes modify the properties of a tag For example: <img> is used to display an image. The alt attribute is used to provide alternate text for the image. <img alt=“Tiger Swallowtail Butterfly” > Part of using tags properly is understanding how to set the attributes associated with each tag If an attribute is not set explicitly, it will have a default value

HTML Comments Comments add documentation to a web page Text between the <!-- and --> will not displayed in the browser Comments can be used in any part of the web page Readers may view comments if they “View Source”

Block and Inline Elements Block-level HTML elements start on a new line and some space is added before and after the element Browsers treat block-level elements as if they were little rectangle boxes stacked on the page Inline HTML elements do not start a new line, but stay in the flow of the paragraph

Empty HTML Tags Some tags start and end in a single tag <meta > meta data, documentation <hr > horizontal rule <br > line break These tags are empty tags because they have no separate ending tag Sometimes you may see a closing / character used with these tags <br /> <hr /> <meta />

Validation Each page we write this semester will be checked for proper syntax We will be validating our pages according to the HTML 5 standard The W3C has set up a method of validation on their website: http://validator.w3.org We will walk through this procedure later in the semester

Coding Guidelines HTML 5 does not require documents to be “well-formed” to be valid All tags and attributes can be lowercase or uppercase letters Empty tags do not require a closing /, for example <br> and <br /> both okay Block-level ending tags are not required (will be closed before another begins) Attribute values may or may not be quoted

Using Cascading Style Sheets CSS allows you to control the “look and feel” of your web pages There are three levels of CSS: Inline – styles are wrapped around tags Embedded – styles are group at beginning of file External – styles are placed in a separate file and linked to the web page More on CSS later

Summary HTML allows us to specify the structure, not the formatting of a Web page We will be writing our pages using the HTML 5 standard The governing body of Web standards is the World Wide Web Consortium, the W3C HTML code can be written in any plain text editor WYSIWYG editors are easy to use but their code may add proprietary code and may not validate