HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

HTML Introduction CS 1020 – Lego Robot Design. Building Websites HTML (HyperText Markup Language)  The dominate language of the internet  Describes.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
HTML: HyperText Markup Language Hello World Welcome to the world!
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
MR.Mohammed Sharaf al Shareef
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML BASIC
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) HTML Basics James Wang.
Creating a Simple Page: HTML Overview
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
HTML Overview Part 2 – Paragraphs, Headings, and Lines 1.
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.
Headings, Paragraphs, Formatting, Links, Head, CSS, Images
_ HTML, XHTML & CSS Sami Niemelä | Module 1: Introduction to digital media: Day 02.
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.
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
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.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
HTML. Basic HTML HTML document – HTML headings – to HTML paragraphs – HTML links – HTML images –
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
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.
CHAPTER 1 HTML & HTML5 I อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
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.
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
IS1811 Multimedia Development for Internet Applications Lecture 4: Introduction to HTML Rob Gleasure
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
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.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
Graduate School of Library and Information Science LIS 753 Introduction to HTML 5 By: Yijun Gao Week Three.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Introducing HTML 5 Creating Web Pages with HTML 5 1.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
REEM ALMOTIRI Information Technology Department Majmaah University.
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. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
INT222 – Internet Fundamentals
HTML cancho. HTML HyperText Markup Language A set of HTML tags.
Chapter 1: Intro to HTML Section 1: HTML Structure Presentation Section 2: Layout of an HTML File Section 3: Working with Lists & Tables Section 4: HTML.
This is a test Webpage Wow, I’m writing my first webpage.
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.
01 – HTML (1) Informatics Department Parahyangan Catholic University.
HTML Paragraphs Paragraphs are defined with the tag. Example This is a paragraph This is another paragraph.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
CGS 3066: Lecture 2 Web Development and HTML5
LAB Work 01 MBA 61062: E-Commerce
HTML: HyperText Markup Language
CGS 3066: Web Programming and Design Spring 2016
WEBSITE DESIGN Chp 1
Computers and Scientific Thinking David Reed, Creighton University
CGS 3066: Lecture 2 Web Development and HTML5
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

HTML history, Tags, Element

HTML: HyperText Markup Language Hello World Welcome to the world!

HTML Page Structure Hello World Welcome to the World

Tree structure of HTML html ptitle body head

History of HTML HTML, initially defined by a single person, in 1991 A HTML document contains only text. HTML+, defined by Marc Andreeseen and Eric Bina, in 1993 A HTML document can display images and play video clips as well as sounds. From 1993 to 1997, HTML was being defined by the elements that browser software developers chose to implement. - The “War” Years

HTTP4 Following the “war” years, the standards community pushes for further changes in HTML standards. In particular, the W3C has attempted to clean up the definition of HTML. World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web. HTTP4 is defined in 1999

HTTP5 What is HTML5? In 2012, HTML5 is defined, which is the new standard for HTML. It can display everything you want including text, images, music and movies, and animations. It is cross-platform. It will display content on a desktop computer, laptop, a tablet, smartphone, a notebook or a Smart TV. All major browsers support many of the HTML5 elements.

HTML5 Tells browser which HTML standard to expect. Must appear first in the HTML document. HTML5 has a very simple element. HTML4 element <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” >

Basics of HTML5 Every HTML document (web page) consists of tags and character data,,,. Starting (opening) tag and ending (closing) tag.,,, Opening and ending tags must be used together. Character data is the content between an opening and closing tag E.g., Hello World

HTML Element We can also say that a HTML document are made of elements. An element is a combination of a tag and its character data. Hello World Welcome to the world>

HTML Element Nested Element: an element contain other HTML elements Empty Element: an element with no content/character data Tips of writing HTML elements: Don’t forget the End tag. Use lowercase Tags: and are the same. This is called case insensitive. Better use,,,, Not,,,,

Start to write a HTML document. Now, let us try to write a HTML document.

Attributes Attributes provide information about HTML elements An element can have one or more attributes id class style href An attribute comes in name/value pairs. e.g., go to yahoo’s website

Attributes Some attributes that can be used on any HTML element: class: specifies one or more classnames for an element (refers to a class in a style sheet) id: specifies a unique id for an element style: specifies an inline CSS style for an element title: specifies extra information about an element (tool tip) HTML Global Attributes Reference

Headings Heading are used to show the document structure.,,,,, defines the most important heading and defines the least important heading. Browsers automatically add some empty space before and after each heading.

Comment Comments can be added into the HTML code to make it readable and understandable. Browser will not display any comments. Syntax: E.g.,

Paragraph Paragraphs are defined with the tag. can have many attributes. Line Break: Use if you want a new line without starting a new paragraph.

Special Symbol You cannot change the output by adding extra spaces or lines in HTML code. New horizontal line: New Line tag: Whitespace: &nbsp

Text Formatting Use tags for formatting output. E.g: bold or italic text A list of formatting tags: : defines bold text : defines italic text : defines subscripted text : defines superscripted text : defines marked/highlighted text

Hyperlink The tag defines hyperlink. A hyperlink is a word, group of words, or image that you can click on to jump to another web page. The href is the most important attribute, which indicates the link’s destination. E.g., GO TO YAHOO The target attribute specifies where to open the linked document. _blank: in a new window or tab _self: in the same frame as it was clicked (default)

Images tag is always an empty tag. It contains attributes only and no closing tag. You need to use the src attribute. The value of this attribute is the URL of the image. Syntax: alt defines the text for an image when the image cannot be displayed. The width and height attributes define the size of the image.

Next Class Tables Lists Blocks Div and span Inline Style