CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.

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
Intro to HTML Basics HTML = Hypertext Mark-up Language HTML = Hypertext Mark-up Language HTML is a plain-text file that can be created using a text editor.
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 popo.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Images, Tables, lists, blocks, layout, forms, iframes
Tutorial 4: Designing a Web Page with Tables
XP Creating Web Pages with HTML Using Tables. XP Objectives Create a text table Create a table using the,, and tags Create table headers and captions.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Using HTML Tables.
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
Softsmith Infotech HTML. Softsmith Infotech HTML Introduction Creation Tags Text List Image Background Link Table Frames Forms.
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.
HTML Tables and Forms Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
Lesson 6. Links in HTML Computer Science Welcome to Virtual University in Pakistanhttp://
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Identifies the Structure Table Row Column 1 Table Heading Column 2.
1 HTML/CSS Tutorial. 2 Definitions WWW -- a software infrastructure layered on top of the Internet HTTP -- HyperText Transport Protocol, layered on top.
CS105 Introduction to Computer Concepts HTML
HTML Web Programming.
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
HTML 4.0 History and Application By: Marc Mayzes.
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.
DAT602 Database Application Development Lecture 14 HTML.
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.
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
Understanding HTML Code
 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.
HTML. Basic HTML HTML document – HTML headings – to HTML paragraphs – HTML links – HTML images –
Basic HTML Workshop By: Preeda Chunjongkolkul (Pete) Systems Librarian/Webmaster
1 HTML محمد احمدی نیا 2 Of 43 What is HTML?  HTML stands for Hyper Text Markup Language  HTML is not a programming language, it.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
Designing a Web Page with Tables. A text table: contains only text, evenly spaced on the Web page in rows and columns uses only standard word processing.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
IS1824: Introduction to Internet Multimedia Lecture 5: Layout in HTML Rob Gleasure
Web Design and Development for Business Lecture 3 Hyper Text Markup Language (HTML)
XHTML 1.1  Derived from Standard Generalized Markup Language (SGML) of ISO  XHTML concerned primary with content rather than presentation and style 
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.
1 HTML/CSS Tutorial Alfred C. Weaver. 2 Definitions WWW -- a software infrastructure layered on top of the Internet HTTP -- HyperText Transport Protocol,
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
CIS234A Lecture 8 Instructor Greg D’Andrea. Review Text Table contains only text, evenly spaced on the Web page in rows and columns uses only standard.
Lecture 6 More Advanced HTML Boriana Koleva Room: C54
HTML(Hyper Text Markup Language) ByNaveen. Introduction HTML or Hyper Text Markup Language is the standard markup language Its used to create the web.
Week 9: HTML Tables and Frames HNDIT11062 – Web Development.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
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.
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.
HTML Hyper Text Markup Language. In Early 1970s VINT CERF & BOB KAHN released a paper In 1980s That Solution was implemented as TCP/IP.
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.
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
1 Foundation of HTML Web Page Design. 2 Safe Web Fonts: Used by most computers regardless of environment or platform  Times New Roman  Arial  Courier.
HTML for web designing short course. What is an HTML File? HTML stands for Hyper Text Markup Language An HTML file must have an htm or html file extension.
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 Tables Tables are defined with the tag. A table is divided into rows (with the tag), and each row is divided into data cells (with the tag). td stands.
Chapter 5 Introduction to XHTML: Part 2
Using HTML Tables SWBAT: - create tables using HTML
Introduction to HTML.
Presentation transcript:

CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS

CSE 409 – Advanced Internet Technology 2 What is HTML? Hyper Text Markup Language Language used to design a layout To specify hyperlinks A document may contain- text, images, etc. HTML is not case sensitive HTML programming is done through notepad or any text editor The file is saved as.htm or.html

CSE 409 – Advanced Internet Technology 3 What HTML is made up of ? TAGS ATTRIBUTES All HTML TAGS are contained in angle brackets Eg.,,, TAG is a coded HTML command to display a part of a webpage. Attribute is a special word used inside a TAG to specify additional information to TAG such as color, alignment etc HTML tags come in pairs

CSE 409 – Advanced Internet Technology 4 HTML Document Structure Every HTML document has the following structure: Title of page is written here Html TAGS which define the page

CSE 409 – Advanced Internet Technology 5 TAGS …. IDENTIFIES THE AS AN HTML DOCUMENT. HTML DOCUMENT BEGINS WITH AND ENDS WITH …. CONTAINS THE INFORMATION OF DOCUMENT

CSE 409 – Advanced Internet Technology 6 TAGS …. CONTAINS THE DOCUMENT TITLE WHICH IS DISPLAYED IN THE BROWSERS TITLE BAR …. CONTAINS ALL TAGS,ATTRIBUTES & INFORMATION TO BE DISPLAYED IN THE WEB PAGE. TAG IS ENTERED BELOW THE CLOSING TAG AND ABOVE THE CLOSING OF TAG

CSE 409 – Advanced Internet Technology 7 HTML writing tools Need a text editor Notepad, frontpage, etc. Viewing HTML HTML document can be viewed in a browser like IE, Firefox, Opera, Safari etc.

CSE 409 – Advanced Internet Technology 8 Container Elements These require starting and ending tags. These are paired tags. Eg: …, …, … Empty Elements These require starting tag. Eg:,,,

CSE 409 – Advanced Internet Technology 9 HEADINGS Six levels of headings are available. text -- largest of the six text text -- smallest of the six

CSE 409 – Advanced Internet Technology 10 PARAGRAPH defines a paragraph Add ALIGN="position" (left, center, right) But is optional PARAGRAPH ALIGNMENTS LINE BREAKS CENTRE TAG …

CSE 409 – Advanced Internet Technology 11 Text Formatting Tags This is the text of line one Line two contains this text <FONT COLOR="blue" SIZE="6" FACE="Courier" The third line has this additional text Defines a long quotation To display a horizontal line:

CSE 409 – Advanced Internet Technology 12 Preformatted Text Defines preformatted text It preserves both spaces and line breaks if (a < b) { a++; b = c * d; } else { a--; b = (b-1)/2; }

CSE 409 – Advanced Internet Technology 13 LISTS Ordered Lists: List of items are marked with numbers An ordered lists start with the tag Each list item start with the tag

CSE 409 – Advanced Internet Technology 14 LISTS Ordered Lists: Item one Item two Sublist item one Sublist item two Sub-sublist item one Sub-sublist item two

CSE 409 – Advanced Internet Technology 15 LISTS UnOrdered Lists: List of items are marked with bullets An ordered lists start with the tag Each list item start with the tag Type Attribute can have the value: TYPE= CIRCLE TYPE=SQUARE TYPE=DISC

CSE 409 – Advanced Internet Technology 16 LISTS Unordered Lists: One Two Three Four Five Six

CSE 409 – Advanced Internet Technology 17 LISTS Definition Lists: List of terms and Explanation of terms Definition lists start with the tag Definition list term starts with tag Each definition list definition starts with tag

CSE 409 – Advanced Internet Technology 18 LISTS Definition Lists: Coffee Black Hot Drink Milk White Cold Drink

CSE 409 – Advanced Internet Technology 19 Formatting tags Bold Italic Underlined Subscripts: f 0 + f 1 Superscripts: x 2 + y 2 Strike Through Bold Italic Gray

CSE 409 – Advanced Internet Technology 20 Images To display image in a document use tag To display image we need SRC attribute (source) Value of SRC attribute is the URL of the image ALT attribute define an “alternate text” for an image(if the browser can’t load images) WIDTH, HEIGHT may be in units of pixels or percentage of page or frame – WIDTH="357" – HEIGHT="50%“ Example:

CSE 409 – Advanced Internet Technology 21 Anchors (HyperLinks) Link to an absolute URL: If you get spam, contact Microsoft to report the problem. Link to a relative URL: See these references concerning our fine products. Link to a section within a URL: Amazon provided a reference for our company. Naming a Section Our References URL (Uniform Resource Locator) is used to address a document on World Wide Web.

CSE 409 – Advanced Internet Technology 22 HYPERLINKS Welcome to Manipal Institute of Technology

CSE 409 – Advanced Internet Technology 23 Tables table tag optional table title table row table column header table data element

CSE 409 – Advanced Internet Technology 24 Tables Table Caption Heading1 Heading2 Row1 Col1 Data Row1 Col2 Data Row2 Col1 Data Row2 Col2 Data Row3 Col1 Data Row3 Col2 Data

CSE 409 – Advanced Internet Technology 25 Element Attributes ALIGN=position -- left, center, right for table BORDER=number -- width in pixels of border (including any cell spacing, default 0) CELLSPACING=number -- spacing in pixels between cells, default about 3 CELLPADDING=number -- space in pixels between cell border and table element, default about 1 WIDTH=number[%]-- width in pixels or percentage of page/frame width BGCOLOR=color -- background color of table, also valid for,, and

CSE 409 – Advanced Internet Technology 26 TABLES cellspacing=10 cellpadding=10

CSE 409 – Advanced Internet Technology 27 Table Row Attributes Valid for the table row: ALIGN -- left, center, right VALIGN -- top, middle, bottom BGCOLOR -- background color One Two Three Four Five Six

CSE 409 – Advanced Internet Technology 28 Table Cell Attributes Valid for the table cell: colspan -- how many columns this cell occupies rowspan – how many rows this cell occupies a b c

CSE 409 – Advanced Internet Technology 29 Frames Frames help control navigation and display attributes include FRAMEBORDER – yes or 1 for borders FRAMESPACING – width of border BORDERCOLOR – color SRC – location of HTML to display in frame NAME – destination for TARGET attribute MARGINWIDTH – left/right margins MARGINHEIGHT – top/bottom margins SCROLLING – yes or 1 adds scroll bar NORESIZE – yes or 1 disables resizing

CSE 409 – Advanced Internet Technology 30 Frames

CSE 409 – Advanced Internet Technology 31 FORMS Used to select different kind of user input. Forms is an area that contain form elements Form elements are elements that allow to enter information in a form Defined by tag Action attribute defines the name of the file to which the contents are sent

CSE 409 – Advanced Internet Technology 32 FORMS INPUT Tag: Type of input is specified with TYPE attribute. Text Fields: Used when we want to type numbers or text.

CSE 409 – Advanced Internet Technology 33 FORMS Radio Buttons: Used when we want user to select one of a limited number of choices. Check Boxes: Used when we want user to select one or more options of a limited number of choices. Submit Button: When user clicks on submit button, the content of the form is send to the server.

CSE 409 – Advanced Internet Technology 34 FORMS … First name: Last name: Password: Male Female I have a car Username:

CSE 409 – Advanced Internet Technology 35 FORMS Deifnes a text area Defines a selectable list of items. ALTO SANTRO …

CSE 409 – Advanced Internet Technology 36 END OF LECTURE