HTML: A brief introduction

Slides:



Advertisements
Similar presentations
Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
Advertisements

HTML popo.
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. The World Wide Web Protocols Addresses HTML.
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.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Introduction to HTML II Shih-Heng Chin. Preface Structure of a HTML File Elements used frequently Tables.
Computer Science 101 HTML. World Wide Web Invented by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland (roughly.
CS105 Introduction to Computer Concepts HTML
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
1 Essential HTML coding By Fadi Safieddine (Week 2)
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Getting Started with HTML Please use speaker notes for additional information!
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
HTML,DHTML & Javascript/Session1/1 of 39 Introduction and Basic Tags Session 1 of Using HTML, DHTML & JavaScript.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
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.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
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.
HTML(Hyper Text Markup Language) ByNaveen. Introduction HTML or Hyper Text Markup Language is the standard markup language Its used to create the web.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
The Web Wizard’s Guide to HTML Chapter Two Basic Text Formatting.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Introduction to Web Authoring Ellen Cushman /wra210.htm Class mtg. #2.
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
Introduction to Hypertext Markup Language James H. Harrison, Jr., M.D., Ph.D. Center for Biomedical Informatics University of Pittsburgh Medical Center.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
Chapter 4 HTML Tags. HTML is written in something called tags. Tags come in pairs, an opening one and a closing one. The first pair of tags we'll write.
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.
Introduction to Web Authoring Bill Hart-Davidson AIM: billhd30 Session 2
Chapter 2 Markup Language By : Madam Hazwani binti Rahmat
HTML - V
HTML Basics (Part-3).
Introduction to HTML.
HTML Basics.
Extended Learning Module F
What is HTML? Acronym for: HyperText Markup Language
Computer Fundamentals 2
Elements of HTML Web Design – Sec 3-2
HTML: HyperText Markup Language
Elements of HTML Web Design – Sec 3-2
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Introduction to HTML.
Today’s topics Networks & the Internet Basic HTML
Elements of HTML Web Design – Sec 3-2
Web Programming– UFCFB Lecture 5
COMPUTING FUNDAMENTALS
HTML (HyperText Markup Language)
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Computers and Scientific Thinking David Reed, Creighton University
Basic HTML and Embed Codes
Web Design and Development
HTML HTML is a language for describing web pages.
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Chapter 16 The World Wide Web.
Html.
Introduction to HTML.
Computer communications
HTML (HyperText Markup Language)
Johan Ng and Muhammad Hazzry
AN INTRODUCTION BY FAITH BRENNER
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

HTML: A brief introduction

HTML for Web Publishing HTML stands for HyperText Markup Language It is a non-proprietary format based upon SGML HTML uses tags such as <h1> and </h1> to structure text into headings, paragraphs, lists, hypertext links etc. It’s used for presenting the content of data on the Web 2019/11/22 HTML

An Example <html> <head> <title>A simple HTML document</title> </head> <body> <h1>A demonstration of simple HTML</h1> <p>Here is a simple paragraph. <p>Here is the <b>second</b> paragraph. <address> Qiang Yang qyang@cs.ust.hk </address> </body> </html> 2019/11/22 HTML

Kinds of Markup Structural markup <p>, <h1> Stylistic markup <b> Descriptive (semantic) markup <title>, <address> 2019/11/22 HTML

Creating Links A Tags for creating hyperlinks href=: URL for the hyperlink img src=: images An Image Link: <a href="http://www.wired.com"><img src="http://static.wired.com/wired/images/wired_logoblue.gif" width="153" height="31" border="0" alt="W I R E D"></a> A Text Link: <A HREF="http://www.wired.com/wired/archive/ 3.06/xanadu.html?person=ted_nelson&topic_set=wiredpeople"> Full Text of Article</A> 2019/11/22 HTML

Font Tags Font tags: face: Arial, Courier, etc. size: e.g. 3, 6 <FONT FACE=ARIAL SIZE=6> <B>The Curse of Xanadu</B> </FONT> <FONT FACE=ARIAL SIZE=3> by By Gary Wolf, <I>Wired Magazine</I> Font tags: face: Arial, Courier, etc. size: e.g. 3, 6 color: e.g. “RED”, “GREEN”, etc. 2019/11/22 HTML

<P> and <BR> Tags <BR>: Break <P>: Paragraph tag. Creates more space than a BR tag. <HR>: Creates a Horizontal Rule 2019/11/22 HTML

Lists Ordered Lists (OL): e.g. 1,2,3 HTML supports two types of Lists: Ordered Lists (OL): e.g. 1,2,3 UnOrdered Lists (UL): e.g. bullets. Basic Syntax: <UL> <LI>Item 1 <LI>Item 2 </UL> 2019/11/22 HTML

Embedding Audio For Internet Explorer, you can use BGSOUND: <BGSOUND src="http://www.3-cities.com/~yogi/Starwars/impressive.wav"> Netscape doesn’t support BGSOUND, so you need to use the EMBED tag: <EMBED SRC="http://www.3-cities.com/~yogi/Starwars/impressive.wav" controls="console"> 2019/11/22 HTML

Tables: Basic Tag Structure TR: Table Row  <TABLE> <TR > <TH>Ticker</TH> <TH>Price</TH> </TR> <TR> <TD>MSFT</TD> <TD>71 1/16</TD> <TD>KO</TD> <TD>46 15/16</TD> </TABLE> TH: Table Heading TD: Table Data Every <TD> must have a matching </TD>. Every <TR> must have a matching </TR>. 2019/11/22 HTML

HTML Frames Enables you to divide a page into parts. Each part can be served by the same or different web server. Very simple to use. Use with Caution: Some browsers don’t support frames Reduces screen “real estate” Much better way: use DHTML 2019/11/22 HTML

Divides the screen horizontally Frame Example 1.0 Divides the screen horizontally <HTML> <HEADER><TITLE>Framesets Example</TITLE></HEADER> <FRAMESET ROWS="60%,*"> <FRAME src="http://www.onvia.com"> <FRAME src="http://www.office.com"> <NOFRAMES> You are using a browser that does not support frames. </NOFRAMES> </FRAMESET> </HTML> Specify Individual Frames Used by old browsers. 2019/11/22 HTML

HTML Colors You have two options for specifying colors: Specify the color name, e.g. blue, maroon, pink. Specify the RGB value. RGB Values indicate the amount of Red, Green and Blue within each color. These are specified as Hexadecimal numbers. First Two Digits: Amount of Red Next Two Digits: Amount of Green Last Two Digits: Amount of Blue 2019/11/22 HTML

HTML Forms

Forms Overview Every form must have a start <form> tag and an end </form> tag. <FORM> … </FORM> Note that the form tag also has two attributes: Method Action 2019/11/22 HTML

Start of Form Tag End of Form Tag <HTML> <HEAD> <TITLE>Form Example 1.0</TITLE> </HEAD> <BODY> <CENTER> ... <FORM ACTION=http://www.someone.com/action.cgi METHOD="POST"> First Name: <INPUT TYPE=TEXT NAME=first SIZE=20 MAXLENGTH=20><BR> Last Name: <INPUT TYPE=TEXT NAME=last SIZE=20 MAXLENGTH=20><BR> Password: <INPUT TYPE=PASSWORD NAME=password SIZE=20 MAXLENGTH=20> <BR><INPUT TYPE=SUBMIT VALUE="Submit"> </FORM> </CENTER> </BODY> </HTML> Start of Form Tag End of Form Tag 2019/11/22 HTML