Introduction to HTML. What is HTML?  Hyper Text Markup Language  Not a programming language but a markup language  Used for presentation and layout.

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

Farhan Nisar University of Peshawar
Svetlin Nakov Telerik Corporation
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Introduction to HTML & CSS
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Ideas to Layout Beginning web layout using Cascading Style Sheets (CSS). Basic ideas, practices, tools and resources for designing a tableless web site.
HTML: HyperText Markup Language Hello World Welcome to the world!
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
HTML – A Brief introduction Title of page This is my first homepage. This text is bold  The first tag in your HTML document is. This tag tells your browser.
Images, Tables, lists, blocks, layout, forms, iframes
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
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
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,
Basics of HTML.
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
HTML Web Programming.
HTML. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
DAT602 Database Application Development Lecture 14 HTML.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
HTML Hyper Text Markup Language It is used for describing web documents or web pages. A markup language is set of markup tags. HTML documents are described.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
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.
Python CGI programming
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.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
Introduction to web development and HTML MGMT 230 LAB.
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
Copyright © Osmosys O S M O S Y SO S M O S Y S D e p l o y i n g E x p e r i e n c e & E x p e r t i s e™ HTML Training.
HTML Basics BCIS 3680 Enterprise Programming. Web Client/Server Architecture 2  Your browser (the client) requests a Web page from a remote computer.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
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.
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.
Introduction to HTML Year 8. What is HTML O Hyper Text Mark-up Language O The language that all the elements of a web page are written in. O It describes.
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.
Introduction to HTML UWWD. Agenda What do you need? What do you need? What are HTML, CSS, and tags? What are HTML, CSS, and tags? html, head, and body.
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.
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
(1) HTML5, CSS, Twitter Bootstrap. (2) HTML5 Will be the new standard New features Drag and Drop and Support for local storage,,,, New input types Removed.
Web Design – Week 2 Introduction to website basics Website basics: How the Web Works Client / server architecture Packet switching URL components.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
objectives Learning WEB TECHNOLOGIES. Understanding Salient features of WEB TECHNOLOGIES. Designing of WEB PAGES on your own. Development of WEB APPLICATIONS.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING. INTRODUCTION TO HTML With HTML you can create your own Web site. HTML stands for Hyper Text Markup Language.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
HTML HyperText Markup Language. 1.Introduction  HTML is used to describe web pages.  HTML stands for Hyper Text Markup Language.  Tim Berners-Lee and.
Week 1: Introduction to HTML and Web Design
Pertemuan 1 Desain web Pertemuan 1
Intro to HTML CS 1150 Spring 2017.
Web Basics: HTML/CSS/JavaScript What are they?
Intro to HTML CS 1150 Fall 2016.
HTML A brief introduction HTML.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Web Application Development
Pertemuan 1 Desain web Pertemuan 1
HyperText Markup Language
Lesson 2: HTML5 Coding.
Web Programming and Design
Presentation transcript:

Introduction to HTML

What is HTML?  Hyper Text Markup Language  Not a programming language but a markup language  Used for presentation and layout of web pages  Used to describe page content  Earlier versions of HTML had little semantic constructs  Newest versions of the HTML spec attempt to rectify this

Basic Structure of an HTML page Hello World This is a paragraph

Understanding HTML Tags  HTML tags are keywords (tag names) surrounded by angle brackets like  HTML tags normally come in pairs like and  The first tag in a pair is the start tag, the second tag is the end tag  The end tag is written like the start tag, with a forward slash before the tag name  Start and end tags are also called opening tags and closing tags Content goes here

Html Headings  These are used to display heading content on a web page  They are represented by tags to Example : This is a heading 1 tag This is a heading 2 tag This is a heading 3 tag This is a heading 4 tag This is a heading 5 tag This is a heading 6 tag

Html paragraphs  Represented by the tag  Example The content of the paragraph goes here!

Html links  Represented by the tag Google Home Page  The tag can also be used to represent anchor tags to content on the same page  Link to content  Content to be linked to

Images  Represented by tag

Tables  Used for displaying data  In early web days tables were used for styling pages, but styling now should be exclusively achieved with CSS (Cascading Style Sheets)  Tables are defined with the tag  Child elements of include  Table Row  Table definition or column  table header

Example of simple table First Name Last Name Address John Smith

Example of well defined table Details on the productivity of each Manager in a plant Weekday Date Manager Qty Mon 09/11 Kelsey 639 Tue 09/12 Lindsey 596 Wed 09/13 Randy 1135 Thu 09/14 Susan 1002 Fri 09/15 Randy 908 Sat 09/16 Lindsey 371 Sun 09/17 Susan 272 Total 4923

Table Result

HTML List Tags  Ordered lists  Unordered lists  These parent list tags contain children elements which make up the individual list items

Ordered Lists College of Applied Science and Tech Information Technology Dept College of Business

Unordered Lists Apple Banana Grape Strawberry

Block vs Inline Elements  HTML elements can generally be categorized as block level elements or inline elements  Block level elements start and end with a new line when displayed in a browser  Eg of Block level elements are:  Inline elements are displayed without starting a new line  Eg of Inline elements are: etc

element  This is a block level element  It is used to separate and style large blocks of content  Displayed by default on the browser with a line break before and after it  Example of Use Content of page goes here

element  This is an inline element  Used to apply special styles and formatting to text that is displayed inline  It is often used in conjunction with CSS to achieve the desired formatting  An error has occurred! An error has occurred!

HTML Forms  Forms are used to send information from the client to the web server  Forms contain different type of elements  Text fields  Radio buttons  Checkboxes  Select lists  Textareas  Password fields  Buttons or

Form Tags

Form Example

Form HTML Code Sample Form First Name: Last Name: Address: Gender: Male

Form HTML Code Cont’d Female Age Range: Comments:

HTML DOCTYPE  A declaration helps a browser to display a web page correctly  It is usually placed at the start of an HTML file  A few different flavors of DOCTYPE exist  is not an HTML tag but it is information to the browser about what version HTML is rendered in

HTML 5 DOCTYPE Title of the document The body of the document

HTML Versions Source: List of other doc types:

HTML5  What is HTML5?   Excellent HTML5 resource 

What is HTML5?  Latest specification of HTML  Includes native tags for video so plugins do not have to be downloaded  Adds semantic native tags for common document structures  Headers  Footers  Sections  Captions

What is HTML5  Will allow a single version of an app to be rendered effectively across every compliant browser and platform including mobile phones and tablets  Can be thought of a collection of individual features  To convert your old web pages to HTML5 simply place the new DOCTYPE at the start of your page

Looking more closely at the new features of HTML5  Canvas   Geolocation   Local Storage   Cache Manifest   Web Workers for multi-threaded javascript

Storing Data in Browsers  Cookies  Allow us to login automatically to frequently visited websites  They have a data size limit of 4 KB  Issues with privacy and tracking  They are sent with every HTTP request so there is additional overhead in data transfer across the wire

Local Storage and Session Storage  It has a simple API (get and set)  Provides developers with a large amount of space (at least 5 to 10 MB per domain)  Data stored can be accessed via javascript  sessionStorage is only available within the browser tab or window session  It is removed when the browser is closed  Only designed to store data in a single web page session

Local Storage and Session Storage  Localstorage is kept even between browser sessions  Data is still available when the browser is closed or opened  Example sessionStorage.setItem('myKey', 'myValue'); var myVar = sessionStorage.getItem('myKey'); localStorage.setItem('myKey', 'myValue'); var myVar = localStorage.getItem('myKey'); Good Resource:

New Form Elements of HTML5  New form elements with automatic validation    Url   Numbers 

New form elements of HTML5  Numbers as sliders   Date Pickers   Search boxes 

New form elements of HTML5  Color Picker 

Case studies   