Introduction to HTML Lecture 1 Kanida Sinmai

Slides:



Advertisements
Similar presentations
Learning HTML. > Title of page This is my first homepage. Tells Browser This is an HTML page Basic Tags Tells Browser End of HTML page Header information.
Advertisements

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,
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
To. An easy way to explain the internet is to think of your school computers all linked together into a network that you can put information into.
Made by: Dan Ye. Introduction Basic Last Page ☆ HTML stands for Hyper Text Markup Language; ☆ HTML is not a programming language, it is a markup language;
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
HTML Structure & syntax
 2002 Prentice Hall, Inc. All rights reserved.2 Chapter 2 — Introduction to HyperText Markup Language 4: Part I Outline 2.1Introduction 2.2Markup Languages.
>> 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. 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.
Introduction to HTML. HTML Hyper Text Markup Language Page Title My First Heading My first paragraph. Page Title My First Heading My first paragraph.
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.
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.
Just Enough HTML How to Create Basic HTML Documents.
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 Basic Structure. Page Title My First Heading My first paragraph.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
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.
Hyper Text Markup Language.  My First Heading My first paragraph. Example Explained The DOCTYPE declaration defines the document type The text between.
HTML Structure & syntax
HTML Structure & syntax
Basic HTML Introduction to HTML.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Introduction to Programming
Lab 3 Html basics.
Pertemuan 1 Desain web Pertemuan 1
HTML Extra Markup CS 1150 Spring 2017.
Fall 2016 CSULA Saloni Chacha
Introduction and HTML overview
Intro to HTML CS 1150 Spring 2017.
INTRO TO WEB DEVELOPMENT html
Introduction to HTML.
Prepared by Dr. Maher Abuhamdeh 2014/2015 First semester
Html.
Web Basics: HTML/CSS/JavaScript What are they?
HTML basics
Web Development Part 1.
Basic HTML Tutorial Amber Brady.
BHS Web Design Mr. Campbell
LAB Work 01 MBA 61062: E-Commerce
Intro to HTML CS 1150 Fall 2016.
Introduction to basic HTML
HyperText Markup Language
Building Blocks of a Web Page HTML, HTML 5, CSS & XHTML
Mansoor Ahmed Bughio.
HTML Lab 5 10/1/2015.
HTML.
What is CSS.
Coding, Testing and Valdating a Web Page
Introduction to Web programming
Intro to Web Development Class A Review
Internet & Web Engineering Course Code:CS-228 Credit Hours (3+1) Lab 1 Introduction to Markup Language HTML Instructor: Muhammad Zeeshan Haider.
Introduction to Web programming
HTML A brief introduction HTML.
Basic HTML and Embed Codes
Intro to Web Development Links
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Pertemuan 1b
HTML Basic Structure.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Web Application Development
Pertemuan 1 Desain web Pertemuan 1
The Most Basic HTML Page
Creating a Basic Web Page
Images in HTML PowerPoint How images are used in HTML
HTML Structure & syntax
Lesson 2: HTML5 Coding.
Creating your website and learning HTML
HTML Introduction.
Presentation transcript:

Introduction to HTML Lecture 1 Kanida Sinmai ksinmai@hotmail.com http://mis.csit.sci.tsu.ac.th/kanida

HTML Hyper Text Markup Language <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html>

HTML The DOCTYPE declaration defines the document type to be HTML The text between <html> and </html> describes an HTML document The text between <head> and </head> provides information about the document The text between <title> and </title> provides a title for the document The text between <body> and </body> describes the visible page content The text between <h1> and </h1> describes a heading The text between <p> and </p> describes a paragraph

HTML Tags HTML tags are keywords (tag names) surrounded by angle brackets: <tagname>content</tagname> HTML tags normally come in pairs like <p> and </p> The first tag in a pair is the start tag, the second tag is the end tag (<p>) The end tag is written like the start tag, but with a slash before the tag name (</p)

HTML Page Structure

HTML 4.01 & HTML 5 1 <!DOCTYPE html PUBLIC “-//W3C//DTD HTML4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”> <html> <head> 2 <meta http-equiv=“content-type” content=”text/html; charset=UTF-8”> 3 <link type=“text/css” rel=“stylesheet” href = “style.css”> <title>Headings</title> </head> <body> <h1>Hello World!</h1> </body> </html> 1 <!DOCTYPE html> <html> <head> 2 <meta charset=“utf-8”> <title>Headings</title> 3 <link rel=“stylesheet” href = “style.css”> </head> <body> <h1>Hello World!</h1> </body> </html>

Then use a browser to see the result! HTML Heading HTML headings are defined with the <h1> to <h6> tags: <!DOCTYPE html> <html> <head> <title>Headings</title> </head> <body> <h1>My H1 Heading</h1> <h2>My H2 Heading</h2> <h3>My H2 Heading</h3> <h4>My H2 Heading</h4> <h5>My H2 Heading</h5> <h6>My H2 Heading</h6> </body> </html> Save as HTML_L1.html Then use a browser to see the result!

Add these tags to HTML_L1.html HTML Paragraphs Add these tags to HTML_L1.html Then use a browser to see the result! HTML paragraphs are defined with the <p> tag: <p>This is a paragraph. This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.</p> <p>This is the second paragraph. This is the second paragraph.This is the second paragraph.This is the second paragraph.This is the second paragraph.This is the second paragraph.</p> <p>This is the last one. This is the last one.This is the last one.This is the last one.This is the last one.This is the last one.This is the last one.This is the last one.This is the last one.</p>

HTML Elements

HTML Attributes <!DOCTYPE html> <html lang="en-US"> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <!--Title attributes --> <p title="About W3Schools"> W3Schools is a web developer's site. It provides tutorials and references covering many aspects of web programming, including HTML, CSS, JavaScript, XML, SQL, PHP, ASP, etc. </p> </body> </html>

HTML Attributes <!--href attributes --> <a href="http://www.w3schools.com">This is a link</a> <!--Size attributes --> <img src="w3schools.jpg" width="104" height="142"> -- Always Use Lowercase Attributes --

HTML Attributes

<pre> Element <p>The pre tag preserves both spaces and line breaks:</p> <pre> My Bonnie lies over the ocean. My Bonnie lies over the sea. Oh, bring back my Bonnie to me. </pre>

HTML Formatting <p>This text is normal.</p> <p><strong>This text is strong</strong>.</p> <p><i>This text is italic</i>.</p> <p><em>This text is emphasized</em>.</p> <small>Small</small> Formatting <mark>Marked</mark> Formatting <p>My favorite color is <del>blue</del> red.</p> <p>My favorite <ins>color</ins> is red.</p> <p>This is <sub>subscripted</sub> text.</p> <p>This is <sup>superscripted</sup> text.</p>

HTML Comments Comment tags <!-- and --> are used to insert comments in HTML. <!-- Write your comments here -->

HTML Quotation <q> for Short Quotations <p>WWF's goal is to: <q>Build a future where people live in harmony with nature.</q></p>

<blockquote> for Long Quotations <blockquote cite="http://www.worldwildlife.org/who/index.html"> For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally. </blockquote>

<abbr> for Abbreviations Marking abbreviations can give useful information to browsers, translation systems and search-engines. <p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>

<address> <address> Written by Jon Doe.<br> Visit us at:<br> Example.com<br> Box 564, Disneyland<br> USA </address>

<bdo> for Bi-Directional Override <p>If your browser supports bi-directional override (bdo), the next line will be written from right to left (rtl):</p> <bdo dir="rtl">This line will be written from right to left</bdo>

Assignment Create your first web page using the given source code. Then modify your own contents.