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.

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

Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML: HyperText Markup Language Hello World Welcome to the world!
WeB application development
Website Design.
1 HTML Standards & Compliance. 2 Minimum Required HTML tags: (must go in this order!)
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
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
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.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
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,
Creating a Simple Page: HTML Overview
Creating a Basic Web Page
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)
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
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.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
>> Introduction to HTML: Tags. Hyper - is the opposite of linear Text – words / sentences / paragraphs Mark-up – Marking the text Language – It is a language.
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.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
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.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
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.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
XHTML & CSS 2 By Trevor Adams. Last week XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
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
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.
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.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
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
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Introduction to HTML- Basics
Lesson 2: HTML5 Coding.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

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 paragraph, body, 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

Preparing for the Future  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 XHTML 1.0 Additional rules 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 # in your filenames  Filenames may be case-sensitive depending on the server  Keep filenames short  You can set your own conventions

Sample Page My First Webpage! WOW! This is pretty cool!

What it Means beginning HTML encoding. beginning the header section. My First Webpage! title of page information about page ending the header beginning the body of the document. WOW! starting of a paragraph line break This is pretty cool! ending of a paragraph ending of the body section ending of HTML encoding.

Nesting of HTML Tags  In the previous code example, notice how the tags fall in between the tags  Also see how the 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: is used to display an image. The alt attribute is used to provide alternate text for the image.  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 will not be 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

Self-Terminating Tags  Some tags start and end in a single tag meta data, documentation horizontal rule line break  These tags are empty tags because they have no separate ending tag

Validating Your Documents  Professional web developers catch errors in the markup by validating their documents. Here are some things validators check for: An indication of character encoding Inclusion of rules and attributes Mismatched tags Non-standard elements Nesting errors

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 HTML5 standard  The governing body of Web standards is the World Wide Web Consortium, W3C  HTML code can be written in any plain text editor WYSIWYG editors are easy to use but their code may be proprietary and may not validate