Summary 4/5. (contains info about the html)

Similar documents
HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

HTML. HTML Evolution

CSC Web Technologies, Spring HTML Review

The Hypertext Markup Language (HTML) Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013

Website Development with HTML5, CSS and Bootstrap

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

HTML What is HTML Hyper Text Markup Language is a computer based language used to create WebPages.

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data"

Certified HTML5 Developer VS-1029

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

Structure Bars. Tag Bar

CSC 121 Computers and Scientific Thinking

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

Programmazione Web a.a. 2017/2018 HTML5

HTML Forms. By Jaroslav Mohapl

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

Building Web Based Application using HTML

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

A Balanced Introduction to Computer Science, 3/E

QUICK REFERENCE GUIDE

Document Object Model. Overview

A website is a way to present your content to the world, using HTML to present that content and make it look good

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab.

Creating Web Pages Using HTML

Certified HTML Designer VS-1027

Index. CSS directive, # (octothorpe), intrapage links, 26

HTML 5 Tables and Forms

Advanced HTML Scripting WebGUI Users Conference

Deccansoft Software Services

Name Related Elements Type Default Depr. DTD Comment

2.1 Origins and Evolution of HTML

Programming of web-based systems Introduction to HTML5

Hyper Text Markup Language HTML: A Tutorial

Creating a Web Page with HTML

Tables & Lists. Organized Data. R. Scott Granneman. Jans Carton

2.1 Origins and Evolution of HTML

<page> 1 Document Summary Document Information <page> 2 Document Structure Text Formatting <page> 3 Links Images <page> 4

Hyperlinks, Tables, Forms and Frameworks

1.264 Lecture 12. HTML Introduction to FrontPage

A Brief Introduction to HTML

Selected Sections of Applied Informatics

Html basics Course Outline

WTAD Text Editors for HTML. Text Editors: Kate HTML. (HyperText Markup Language)

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

WTAD. Unit -1 Introduction to HTML (HyperText Markup Language)

2.1 Origins and Evolution of HTML. 2.3 HTML Document Structure

Table-Based Web Pages

SYBMM ADVANCED COMPUTERS QUESTION BANK 2013

HTML 5.0 KKCC INFO SYSTEMS. K.SrinivasaRao

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

HTML Tables and. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page.

Oliver Pott HTML XML. new reference. Markt+Technik Verlag

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 2 Introduction to XHTML

Tag Name Code Example Browser View. <!--This can be viewed in the HTML part of a document--> <a href=" Visit Our Site</a>

HTML and CSS COURSE SYLLABUS

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

COMP519: Web Programming Lecture 4: HTML (Part 3)

COMPUTER APPLICATIONS 10. HTML - Structural Tags SECTION-B

Advanced Web Programming C2. Basic Web Technologies

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

By Ryan Stevenson. Guidebook #2 HTML

CS105 Course Reader Appendix A: HTML Reference

HTML Tags <A></A> <A HREF=" CNN </A> HREF

IT350 Web and Internet Programming. XHTML Tables and Forms (from Chapter 4 of the text 4 th edition Chapter 2 of the text 5 th edition)

HTML CS 4640 Programming Languages for Web Applications

Chapter 5. Introduction to XHTML: Part 2

Introduction to using HTML to design webpages

HTML BEGINNING TAGS. HTML Structure <html> <head> <title> </title> </head> <body> Web page content </body> </html>

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

D B M G. Introduction to databases. Web programming: the HTML language. Web programming. The HTML Politecnico di Torino 1

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page.

Spring 2014 Interim. HTML forms

The [HTML] Element p. 61 The [HEAD] Element p. 62 The [TITLE] Element p. 63 The [BODY] Element p. 66 HTML Elements p. 66 Core Attributes p.

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI

CSC Web Programming. Introduction to HTML

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I

Understanding this structure is pretty straightforward, but nonetheless crucial to working with HTML, CSS, and JavaScript.

Canvas & Brush Reference. Source: stock.xchng, Maarten Uilenbroek

HTML: Fragments, Frames, and Forms. Overview

HTML. MPRI : Web Data Management. Antoine Amarilli Friday, December 7th 1/28

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

HTML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Department of Computer Engineering Khon Kaen University

HTML Element A pair of tags and the content these include are known as an element

Static Webpage Development

Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo

c122sep2214.notebook September 22, 2014

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development

1 Form Basics CSC309

HTTP and HTML. We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms.

HYPERTEXT MARKUP LANGUAGE ( HTML )

HTML Hyper Text Markup Language

Computer Programming. Dr. Deepak B Phatak Dr. Supratik Chakraborty Department of Computer Science and Engineering IIT Bombay

UNIT II Dynamic HTML and web designing

Transcription:

Summary Tag Info Version Attributes <!-- --> Comment 4/5 <!DOCTYPE Document type 4/5 <a> Hyperlink 4/5 href: destination resource of the hyperlink target: specify where the content will be displayed [_blank or _parent or _self] <article> A section of a 5 page <aside> Outside the main 5 flow of the narrative <audio> Sound content 5 autoplay: determine if the audio will automatically play controls: indicates a set of basic control loop: sets whether the aduio will start once the end is reached src: URL of the audio to play Body element 4/5 (main content) <br /> Inserts a single 4/5 line break <canvas> Graphic area 5 Height Width <div> Document block: 4/5 creates a block level element <em> Emphasized text 4/5 <font> Text font, size and 4 color <footer> Footer for a 5 section <form> Form element 4/5 action: URL that specifies a form processing agent enctype: specifies the content type used to submit the form to the server [application/x-www-formurlencoded or multipart/form-data or text/plain] method: specifies the HTTP method used to submit the form data [ get or post or put] name: elements name <h1> to Headers 4/5 <h6> <head> Head element (contains info about the html) 4/5 <hr> Horizontal rule 4/5 <iframe> Inline frame 4/5 src: URL of a page that the inline frame would contain name: elements name height: width: <img> Image 4/5 src: URL to the image file

height: width: <input> Input field 4/5 name: element name pattern: specifies a regular expression for the control readonly: determines if the control is readonly required: determines if the input is required before the form is submitted. size: specifies the number of characters that is allowed type: controls the data type [ hidden or text or tel or url or email or password or datetime or date or month or week or time or number or range or color or checkbox or radio or file or submit or image or reset or button] <label> Label for a form control 4/5 for: specified to indicate a form control with which the caption is to be assiciated <li> List item 4/5 value: used in an Ordered List to set the display value <nav> Navigation links 5 <ol> Ordered list 4/5 start: the ordinal value of the first list item reversed: indicates that the list is in descending order <option> Option in a dropdown list 4/5 label: provides a label for element selected: determines if the option is selected by default value: provides a value for element <p> Paragraph 4/5 <select> Selectable list 4/5 multiple: specifies whether selection of multiple items be allowed size: gives the number of options to be displayed <span> Inline element 4/5 <strong> Strong text 4/5 <table> Table element 4/5 <td> Talbe cell 4/5 colspan: sets the number of columns a cell would span rowspan: sets the number of rows a cell would span <textarea> Text area 4/5 cols: specifies the maximum number of characters per row readonly: specifies whether the text can be edited required: specifies whether a value needs to be entered before form submission rows: specifies the number of lines to show maxlength: specifies the maximum number of characters that can be entered <tr> Table row 4/5 <ul> Unordered list 4/5 <video> Video element 5 poster: URL of an image file that is show n when no video content is available autoplay: control: indicates a set of basic control loop: src: width: height:

1. Basic Tags <html> <head> <title> Defines a html document Defines the head element Defines the title Defines the body element <html> <head> <title> Title, displayed in IE </title> </head> this is the main content </body> </html> o Background= image1.jpg Defines a background image <h1> <h6> to Defines header 1 to header 6 <html> <head> <title>heading Size </title> </head> <h1> This is level 1 header </h1> <h2> This is level 2 header </h2> <h3> This is level 3 header </h3> <h4> This is level 4 header </h4> <h5> This is level 5 header </h5> <h6> This is level 6 header </h6> </body> </html> <p> Defines a paragraph <html> <head> <title>common Tags </title> </head> <h1>hypertext MarkUp Language (HTML) </h1> <p> HTML is the programming language used to create documents for the world wide web. Using HTML, you define a web document's structure by using such components as attributes and tags. </p> <p> HTML tags are used to format a web page's look, to position graphics and multimedia elements, and to incorporate components created in other programming languages such as Java or Flash. </p> </body> </html>

<br /> <hr /> <!-- comment --> Inserts a single line break Defines a horizontal rule width: defines length of the horizontal rule e.g., <hr width= 50% /> Defines a comment <html> <head> <title>common Tags </title> </head> <h1 align="center"> HTML </h1> <p> Paragraph 1 </p> <p> Paragraph 2 </p> <hr /> <p> Paragraph 3 </p> <br /> <p> Paragraph 4 </p> 2. Char Format <em> <strong> <u> Defines emphasized text Defines strong text Defines underlined text <html> <head> <title> Common Tags </title> </head> <h1 align="center"> HTML </h1> <p> HTML is the <u> programming language </u> used to create documents for the world wide web. Using HTML, you define a web document's structure by using such components as <em> attributes </em> and <em> tags </em>. </p> <p> HTML tags are used to format a web page's look, to position graphics and <strong> multimedia </strong> elements, and to incorporate components created in other programming languages such as Java or Flash. </p>

3. Blocks <center> Defines centered text <html> <head> <title> Title </title> </head> <center> <h1> HTML </h1> <p> Paragraph 1 </p> <p> Paragraph 2 </p> <hr width="70%" /> </center> 4. Links <a> Defines an anchor Attributes: target: define where the target document will be opened title: specify a tool tip when the mouse moves over the anchor text e.g., <a href= http://www.eie.polyu.edu.hk title= EIE Home Page target= _blank > To an email: <a href= mailto: a@b.com > <a href= mailto: a@b.com?subject=a > <a href= mailto:a@b.c,d@e.f > Internal Linking: 1. first mark a point <a name= point1 > <html> <head> <title> Title </title> </head> <hr width="90%" /> <h1> Some linking points </h1> <p> <a href="http://www.eie.polyu.edu.hk"> <strong> EIE Home Page </strong> </a> </p> <p> <a href="http://www.polyu.edu.hk"> <strong> Poly Univ Home Page </strong> </a> </p>

2. make the linking <a href= #point1 > 5. Images <img> Defines an image o border= 1 specifies the border width (in terms of the numbers of pixel) <html> <head> <title>common Tags </title> </head> <h1 align="center"> HTML </h1> <p> <a href="http://www.eie.polyu.edu.hk/~nflaw"> <img src="baby.jpg" height="20" width="20" alt = "My home page" /> </a> </p> Lists <ul> <li> Defines an unordered list Defines a list item <html> <head> <title> Title </title> </head> <ul> <li> Item 1 </li> <li> Item 2 </li> <li> Item 3 </li> </ul> <ol> Defines an ordered list Attributes: type= o 1: decimal o I: upper roman o i: lower roman o A: upper Latin o a: lower Latin <html> <head> <title> Title </title> </head> <p> Decimal Ordering </p> <ol type="1"> <li> Item 1 </li> <li> Item 2 </li> </ol> <hr /> <p> Upper Romain Ordering </p> <ol type="i"> <li> Item 1 </li> <li> Item 2 </li> </ol> <hr /> <p> Lower Romain Ordering </p> <ol type="i"> <li> Item 1 </li> <li> Item 2 </li> </ol> <hr /> <p> Uppercase Latin Ordering </p>

<ol type="a"> <li> Item 1 </li> <li> Item 2 </li> </ol> <hr /> <p> Lowercase Latin Ordering </p> <ol type="a"> <li> Item 1 </li> <li> Item 2 </li> </ol> Tables <table> <caption> <th> <tr> <td> <thead> <tbody> Defines a table Defines a table caption Defines a table header Defines a table row Defines a table cell Defines a table header Defines a table body <html> <head> <title> Table </title> </head> <table border="1" width="60%"> <caption> Price of Fruit </caption> <thead> <tr> <th> Fruit </th> <th> Price </th> </tr> </thead> <tbody> <tr> <td> Apple </td> <td> $2.00 </td> </tr> <tr> <td> Orange </td> <td> $3.00 </td> </tr> <tr> <td> Banana </td> <td> $1.50 </td> </tr> </tbody> <tfoot> <tr> <th> Total </th> <th> $6.50 </th> </tr> </tfoot> </table>

colspan rowspan border cell-padding cellspacing Defines groups of table columns Defines groups of table rows Specifies the border width in terms of the numbers of pixel Specifies spacing between the cell walls and the contents Specifies spacing in between cells <html> <head> <title> Table </title> </head> <table border="1" width="80%"> <caption> Average Grades </caption> <tr> <th colspan="4"> Report </th> </tr> <tr> <th> </th> <th> 2002 </th> <th> 2003 </th> <th> 2004 </th> </tr> <tr> <td> Maths </td> <td> A </td> <td rowspan="2" valign="center"> B </td> <td> C </td> </tr> <tr> <td> English </td> <td> C </td> <td> A </td> </tr> </table> Input <form> <input> Defines a form <form name= myform id= myform action= a.php method= post > Defines an input field <html> <head> <title>form </title> </head> <form name="myform" id="myform" method="post" action="mailto:a@b.c?subject='enquire'"> <label> First name: </label> <input type="text" name="firstname" size="25" /> <label> Last name: </label> <input type="text" name="lastname" size="10" /> <hr />

<textarea> <select> <option> <label> <button> type: can be: o text: text box o submit: o reset: checkbox o radio Defines a text area Defines a selectable list Defines an item in a list box Defines a label for a form control Defines a push button <p> <input name="things" type="checkbox" value="1" /> Ham <input name="things" type="checkbox" value="mushroom" /> Mushroom <input name="things" type="checkbox" value="chicken" /> Chicken <input name="things" type="checkbox" value="5" /> Peas </p> <p> <input name="size" type="radio" value="large" checked="checked" /> Large <input name="size" type="radio" value="medium" /> Medium <input name="size" type="radio" value="small" /> Small </p> <p> How would you like to pay? <select name="paymethod"> <option value="2" selected="selected" > Cash </option> <option value="3">visa </option> <option value="4">master </option> </select> </p> <p> Your comment: </p> <textarea name="comment" rows="10" cols="40"> Your comment please. </textarea> <p> <input type="submit" value="submit" /> <input type="reset" value="clear" /> </p> </form>