Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

HTML Basics Customizing your site using the basics of HTML.
HTML popo.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Hyper Text Markup Language.  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
WeB application development
Website Design.
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
HTML Introduction HTML
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML BASIC
COMPUTERS AND INFORMATION SYSTEMS HTML. How the Web Works To access a web site  Enter its address (URL) in the address box of your browser 
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
 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.
Creating a Simple Page: HTML Overview
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Headings, Paragraphs, Formatting, Links, Head, CSS, Images
DAT602 Database Application Development Lecture 14 HTML.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
1 Essential HTML coding By Fadi Safieddine (Week 2)
 2002 Prentice Hall, Inc. All rights reserved.2 Chapter 2 — Introduction to HyperText Markup Language 4: Part I Outline 2.1Introduction 2.2Markup Languages.
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.
All Web pages are written with some form of HTML (HyperText Markup Language). HTML documents are saved as Text Only files so virtually any computer can.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
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.
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.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
15.1 Fundamentals of HTML.
Just Enough HTML How to Create Basic HTML Documents.
HTML Hyper Text Markup Language. What is an HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup.
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
CSC 330 E-Commerce Teacher Ahmed Mumtaz Mustehsan Ahmed Mumtaz Mustehsan GM-IT CIIT Islamabad GM-IT CIIT Islamabad CIIT Virtual Campus, CIIT COMSATS Institute.
HTML: Hyptertext Markup Language Doman’s Sections.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
HTML GUIDE Press F5 and then Click on the links on the left to get to the section you want Section 1: Getting Started Section 2: Moving Banner Section.
HTML Basic. What is HTML HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it.
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.
15.1 Fundamentals of HTML 2 assignments: 1st—complete the worksheet. 2nd—create your first HTML web page following the directions in this PowerPoint where.
2.1 XHTML. Motto High thoughts must have high language. –Aristophanes.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
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.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
CHAPTER TWO HTML TAGS. 1.Basic HTML Tags 1.1 HTML: Hypertext Markup Language  HTML stands for Hypertext Markup Language.  It is the markup language.
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.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
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.
Hyper Text Markup Language.  My First Heading My first paragraph. Example Explained The DOCTYPE declaration defines the document type The text between.
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
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Presentation transcript:

Programming in HTML

 Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags  Tags Describe the Content of a Document  HTML documents  Plain Text (Text / Information)  HTML Tags (Formatting, Setup)

 WYSIWYG editors are available (example: Word) to quickly and easily create Web Pages  Disadvantages to Image-Based Editors  Compatibility Issues  Text may be positioned in the wrong place so search engines (Google) won’t see it  Font sizes may not appear correctly  May display differently in different browsers  Expansion of website can be limited based on program’s design interface  HTML was meant for Document Structure not Design  Image-based editors work on the design

 Relatively simple programming language  Can create dynamic and rich web pages  Easy to learn / many online tutorials available  Site can be optimized for Search Engine Rankings  Image ALT attribute  Accessibility Issue  Used by Search Engines – include Key Words here  Heading Tag – Key Words in or  Display Compatibility  Use of Browser Specific Tags  Pages Load Faster  Editors create a lot of excess code / larger file sizes  Wider Range of Design Options using CSS Styles Sheets (separates content from the design)  Most editors use old technique of Tables to layout a page

Title of my WebPage My First Heading My First Paragraph

 Defines the Document Type and the Standards used  Helps the Browser to Display the Page Correctly   HTML version 5 VersionYear Released HTML1991 HTML+1993 HTML HTML HTML XHTML HTML XHTML 52013*

  Describes the web page  Provides details on how to display the data   Container for all of the header elements  Title, meta data, scripts, location of style sheets   Contained within the head  Defines the title for display on title bar, favorites list, search engine results   Contains the visible page content

 Keywords surrounded by angle brackets  Example:  Normally (but not always) come in Pairs  Beginning and Ending Tags  content text  text

 Software that reads and displays HTML code  Internet Explorer  Firefox  Google Chrome  Safari  Does not display the HTML tags  Interprets them  Displays the Content

 Right-Click on Desktop  New  Folder  Name it with your Name

 Can write HTML in any word processor or specialized software programs  Notepad is Readily Available (and Free)  Start  All Programs  Accessories  Notepad

Type in Your Name Here My First Heading – Your Name Here My First Paragraph – About Me

 File Menu  SAVE AS 1) Select Desktop 3) Select “All Files” 2) Your Folder

 SAVE AS  YourName.HTML 3) YourName.HTML

 Open Your Folder on the Desktop Double Click on Your Folder

 Double-click on the File Name Double-Click File Name

Heading Paragraph Title Only content included in section displays in webpage

 Headings are defined with to tags  H1 defines the most important (top level) heading  H6 is the least important (bottom level) heading  Headings are important for the structure of a web page  Do not use just to make text bigger  Key words in and for Search Engines

 Add Headings to your HTML Document  In the section My First Heading – Your Name Here My First Paragraph – About Me School Favorite Class

 Save: File  Save  Note – Not “Save As”  Display in Web Browser to see Headings H1 H2 H3

 HTML documents are divided into paragraphs  Empty lines are inserted before and after a paragraph My First Paragraph – About Me My Family - Include 2-3 lines about your family here My Best Friend - Include 2-3 lines about your best friend (human or pet)  Add code to your Webpage  Save and Display

 Hyperlinks allow you to click away from your page onto another page  Can be a word, a group of words, or a picture  Hyperlinks are one of the most important features of HTML documents  Links use the anchor tag  Anchor Tags use a “href” attribute to indicate the link’s destination

 Syntax: Link Text a  opens the anchor tag href  gives the destination URL (address of the destination web page) Link Text  Words that will display at the Link on the web page /a  close anchor tag

 Example Link: School of Computing  Add to your Web Page – before the  Save and Display

 Unvisited Links – blue and underlined  Visited Links – purple and underlined Hyperlink

 Adding Pictures to your Web Page  Images use the img tag and a src attribute  Example:  src attribute – the location of the image file  alt attribute give alternate information about an image in case the viewer cannot see the image  Slow connection / Using a screen reader  Image Tags are “empty tags” – No Closing Tag

 Google  Images  Search – Your School  Right Click on a Picture  “Save Image As”  “School” Same Folder School Notice File Type

 Add code to Web Page: May be.jpg,.bmp or,.png  Save and Display

 To Size an Image include Width and Height properties  <img src =“school.jpg" alt=“My School" width = 75 height = 75>  Used Pixels by default

 How would you include an Image as a Hyperlink  Link Code: Put Image Code Here Instead of Text Example:

 Deals with links to documents and images  Absolute Paths:  Very specific location of file is included  Required when linking to files outside of your domain location  Example: School of Computing  Relative Paths:  Change depending on the page the links are on  Used within the same domain location  Links in the same directory as the current page have no path   Sub-directories are listed without preceding slashes 

 Lines can be used to separate content  Created with an tag  No need for an ending tag  Normally used with other tags  Add Code to Document My Family …  Save and Display

Line is Before Paragraph You can put the tag after the end paragraph tag to move the line

 Formatting Tags:  Bold  Emphasized Text (not the same as italics)  Italics  Small Text  Strong (not the same as bold)  Subscript  Superscript

 Add some text and formatting to your webpage  Don’t forget end tags  Formatted text goes in between the tage Sample bold text while this text it italic This Text is Bold and Italic  Save and View in Web Browser

 Always test your code to make sure it is doing what you think it is doing Should have bolding and italics

 Comments are ignored by the Web Browser  Will not be displayed  Used to make your code more readable and understandable  Syntax:  Add a comment to your webpage

 Right Click in the Web Page  Select “View Source” or “View Page Source”

 World Wide Web Consortium  Standards Organization for XHTML  Create Standards and Protocols (Rules) for Web Development  Consistent Handling of Web Pages across browsers (and future browsers)  Accessibility Access  Users with Disabilities  Support future growth and development of the WWW

 Code Validator to Check Web Pages for Issues / Errors in Standards  Benefits:  Make sure pages are following the Standards  Documents Accessibility  Debugging Tools – Helps to find coding errors  Easier Maintenance of pages when standards are followed  Shows professionalism 

File Upload Browse For File Check

 Check your Results  Make Changes to Code if Needed

 XHTML 5 is the new standard for 2013  It is a work in process  Not fully adopted yet  Most MAJOR browsers support many of the new elements  Some New Features  element for 2D drawing  and elements  New content elements  / /  Calendar and Date / Time controls