1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom

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 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.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML: HyperText Markup Language Hello World Welcome to the world!
Teppo Räisänen LIIKE/OAMK 2010
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
 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.
HTML. Creating a Table Attributes: border: indicates the border type of the table Value: 0 (no border), 1, 2, etc. cols: indicates the number of columns.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
CS105 Introduction to Computer Concepts HTML
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Web Development University of Khartoum. Web Development Web Programming Web Design University of Khartoum.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML Pt. 2.
 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.
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.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
>> Introduction to HTML: Tables. HTML is used to give websites structure 5 Basic Tags Element = Start-Tag+Content+End-Tag Heading Tags [h1-h6] Paragraph.
Getting Started with HTML Please use speaker notes for additional information!
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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,
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
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 HyperText Markup Language ©Richard L. Goldman July 15, 2003.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
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.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced 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
CS3101 Internet Programming. Chapter 01 Introduction to XHTML 2Internet Programming - Chapter 01:XHTML Slides based on: Programming the World Wide Web.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
INT222 – Internet Fundamentals
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
1 R3 R1 R5 R4 R6 R2 B B A A Looking at the Code Under the View menu Select Source.
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.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Marking Up with XHTML Tags describe how a web page should look
Elements of HTML Web Design – Sec 3-2
HTML: HyperText Markup Language
>> HTML: Tables.
Elements of HTML Web Design – Sec 3-2
Elements of HTML Web Design – Sec 3-2
COMPUTING FUNDAMENTALS
Computers and Scientific Thinking David Reed, Creighton University
Web Design and Development
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
1 Introduction to XHTML.
Introduction to XHTML Cont:.
Html.
Introduction to HTML.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Lesson 2: HTML5 Coding.
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom

1999, COMPUTER SCIENCE, BUU What is HTML Hyper Text Markup Language. World Wide Web Consortium (W3C). Hyper Text: A collection of text and images that can be accessed in a non-linear way. Markup Language: A way of presenting the text, images and other supported media.

1999, COMPUTER SCIENCE, BUU Physical Markup vs Logical Markup Physical Markup: Emphasis on the presentation. Logical Markup: More emphasis on contents of the document. Later mapped to physical markup. HTML supports both. Logical Markup is recommended.

1999, COMPUTER SCIENCE, BUU Features of HTML Not designed to be WYSIWYG (What You See Is What You Get), rather it is WYSIWYM (What You See Is What You Mean). Easily portable across platforms. Is defined in SGML with general semantics. Adapted for wide range of applications and information presentation.

1999, COMPUTER SCIENCE, BUU Why HTML Describes basic semantics of Web based documents. Web Page Composers may not have complete features. Debugging and modification requires knowledge of HTML. For generating Dynamic Documents.

1999, COMPUTER SCIENCE, BUU Contents of HTML Documents Markup elements –Markup tags –Element Attributes Text / information

1999, COMPUTER SCIENCE, BUU Markup Elements Markup tags enclosed in angle brackets. –Start and end tags. Eg. This is a heading –Standalone tags / Empty tags eg.,

1999, COMPUTER SCIENCE, BUU Structure of HTML document

1999, COMPUTER SCIENCE, BUU An Example - I Introduction to HTML Introduction to HTML Hi folks, welcome to NCST

1999, COMPUTER SCIENCE, BUU An Example - II Today we will learn how to write a HTML document. HTML consists of markup elements used to present the text. These elements includes - Markup Tags Element Attributes

1999, COMPUTER SCIENCE, BUU HEAD Element Contains information about HTML document. Tags inside Head element can appear in any order. Examples of header tags are - META, TITLE, BASE etc.

1999, COMPUTER SCIENCE, BUU TITLE Element It is an optional element. Serves as the label of browser window. Should be as concise as possible. Is used by the search engines.

1999, COMPUTER SCIENCE, BUU BODY element Contains the body proper. Attributes –BACKGROUND = color –BGCOLOR = color –TEXT = color –LINK, ALINK, VLINK = color Color may be specified using hex digits or using pre-defined words.

1999, COMPUTER SCIENCE, BUU (A) Anchor element Specified by start tag and end tag Marks the in between text or image as hyperlink. Attributes –HREF: specifies URL of the file to be fetched. –NAME: marks the text, so it can be the target of hyperlink. –TARGET: specifies the target frame to load file.

1999, COMPUTER SCIENCE, BUU (A) Anchor element contd... Hot Text is rendered in different manner. URL can be partial or full. Partial in case - –Speceified relative to directory of current file. –Use of BASE tag. Attributes of BASE - –HREF: Relative URL for following hyperlinks. –TARGET: Default target window for following hyperlinks.

1999, COMPUTER SCIENCE, BUU IMG element Includes the image file inline with the text Images can float on the page allowing the text to flow around the image. Separate connection to the server is established for each image.

1999, COMPUTER SCIENCE, BUU IMG element contd... Attributes of IMG –SRC –ALT –ALIGN –WIDTH –HEIGHT –BORDER

1999, COMPUTER SCIENCE, BUU P & BR elements marks the beginning of a paragraph and implies a paragraph break. marks end of paragraph and is optional. forces a line break. CLEAR attribute is used to move below floating objects in document.

1999, COMPUTER SCIENCE, BUU Heading elements Six level of headings from H1 to H6. No forced hierarchy in headings. Avoid skipping a heading level. ALIGN attribute specifies the alignment of the heading. –Alignment may be left | right | center | justify. Eg. This is level 1 heading.

1999, COMPUTER SCIENCE, BUU HR element To draw a horizontal line across the screen Terminates the preceding paragraph Commonly used to divide sections within a document Attribute - –ALIGN –SIZE –WIDTH

1999, COMPUTER SCIENCE, BUU Character Highlighting elements Physical Highlighting Elements - –B: Boldface –I: Italic –U: Underline Logical highlighting elements –EM –STRONG –CODE –CITE

1999, COMPUTER SCIENCE, BUU BASEFONT element To specify the default font size. SIZE ranges from 1 to 7 with default as 3. Should appear prior to any displayed text in the BODY of the document. Eg.

1999, COMPUTER SCIENCE, BUU FONT element To change the font size or color of enclosed text. Attributes of FONT are - –SIZE: It can be explicit or can be preceded by ‘+’ or ‘-’ to indicate a change in the size relative to that specified in BASEFONT. –COLOR –FACE

1999, COMPUTER SCIENCE, BUU List elements 5 types of lists - –UL: Unordered List –OL: Ordered List –DL: Definition List –DIR: Directory List –Menu: Menu List A list item is indicated using tag except in definition list. In definition list list item is indicated using and tags.

1999, COMPUTER SCIENCE, BUU Tables TABLE element contains tabular data. Tables are defined as a collection of rows, defined by the TR element. Can contain CAPTION and TR elements. Attributes - –ALIGN –BORDER –CELLSPACING –WIDTH

1999, COMPUTER SCIENCE, BUU Table elements TR element contains a collection of cells, defined by TH and TD elements. TH elements are used for headings. TD elements specify actual table data. Attributes of TR - –ALIGN –VALIGN –BORDER –BACKGROUND / BGCOLOR

1999, COMPUTER SCIENCE, BUU Table elements contd... TD and TH are used to define cells in a row. Cells can occupy more than one row and/or coloumn. Attributes of TD and TH - –ALIGN –VALIGN –BACKGROUND / BGCOLOR –ROWSPAN –COLSPAN –WIDTH

1999, COMPUTER SCIENCE, BUU Example of Table An Example of Tables This is an example of Table Student Marks

1999, COMPUTER SCIENCE, BUU Example of Table contd... S.No. Student ID Marks (out of 100) …

1999, COMPUTER SCIENCE, BUU Reference Material Webmaster in a Nutshell