HTML Tags <A></A> <A HREF="http://www.cnn.com"> CNN </A> HREF

Similar documents
CSC Web Technologies, Spring HTML Review

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

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

CSC 121 Computers and Scientific Thinking

Tables *Note: Nothing in Volcano!*

A Balanced Introduction to Computer Science, 3/E

Creating Web Pages. Getting Started

Html basics Course Outline

How the Internet Works

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

Introduction to HTML. SSE 3200 Web-based Services. Michigan Technological University Nilufer Onder

Creating Web Pages Using HTML

Shatin Tsung Tsin Secondary School S.3 Computer and Technology Web Page Design by HTML Introduction to HTML

What You Will Learn Today

UNIX and Operating System Topics

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

SECTION C GRADE 12 EXAMINATION GUIDELINES

By Ryan Stevenson. Guidebook #2 HTML

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

Working with HTML. must appear at the very beginning of your webpage. starts the first section of your page

Introduction to Computer Science (I1100) Internet. Chapter 7

HTML & XHTML Tag Quick Reference

Chapter 4 Notes. Creating Tables in a Website

Management Information Systems

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

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

Introduction to Computer Science (I1100) Internet. Chapter 7

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

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

HTML Hints & Tips. HTML is short for HyperText Markup Language.

Comp-206 : Introduction to Software Systems Lecture 22. Alexandre Denault Computer Science McGill University Fall 2006

Introduction to HTML. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

CSC Web Programming. Introduction to HTML

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

IMY 110 Theme 7 HTML Tables

A Brief Introduction to HTML

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

SYBMM ADVANCED COMPUTERS QUESTION BANK 2013

THE ASIAN SCHOOL. Class-10. ch8. A. Check the Right Answer (1*9)

INFS 2150 / 7150 Intro to Web Development / HTML Programming

HTML. Hypertext Markup Language. Code used to create web pages

Chapter 4 Creating Tables in a Web Site Using an External Style Sheet

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

HTML OBJECTIVES WHAT IS HTML? BY FAITH BRENNER AN INTRODUCTION

HTMLnotesS15.notebook. January 25, 2015

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

Output a HTML Table to file PDF use FPDF

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

Selected Sections of Applied Informatics

Certified HTML Designer VS-1027

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

Basic HTML Lecture 14

Web Design and Application Development

This booklet is knowledge of. a web page. of a web page find what you. you want to. SiteSell offers. Introduction

Table-Based Web Pages

CSC 101: PreLab Reading for Lab #4 More HTML (some of this reading on Tables and Images are based on previous writings of Prof William Turkett)

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

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

Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example.

Web Programming Week 2 Semester Byron Fisher 2018

WEB PAGE DESIGNING USING HTML

NATIONAL SENIOR CERTIFICATE GRADE 12

COMS 359: Interactive Media

MPT Web Design. Week 1: Introduction to HTML and Web Design

Programmazione Web a.a. 2017/2018 HTML5

Web and Apps 1) HTML - CSS

1.264 Lecture 12. HTML Introduction to FrontPage

HTML Images - The <img> Tag and the Src Attribute

11. HTML5 and Future Web Application

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1

Certified HTML5 Developer VS-1029

Tutorial 5 Working with Tables and Columns. HTML and CSS 6 TH EDITION

Introducing Web Tables

CSC 101: Lab #2 HTML and the WWW Manual and Report Lab Date: Tuesday, 2/2/2010 Report Due Date: Friday, 2/5/2010 3:00pm

HTML. LBSC 690: Jordan Boyd-Graber. October 1, LBSC 690: Jordan Boyd-Graber () HTML October 1, / 29

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.

HYPERTEXT MARKUP LANGUAGE ( HTML )

UNIT II Dynamic HTML and web designing

Hyper Text Markup Language HTML: A Tutorial

Dreamweaver CS3 Concepts and Techniques

LAB 3 CSE 3, Spring 2018 In this lab you will learn and implement some basic html.

Indian Institute of Technology Kharagpur. HTML Part III. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T.

Creating A Web Page. Computer Concepts I and II. Sue Norris

c122sep2914.notebook September 29, 2014

Creating web pages Chapter 5. Structuring contents

2.1 Origins and Evolution of HTML

HTML and CSS: An Introduction

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

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

WEB PAGE DESIGN. Structure

LESSON 3. Coding Tables Continued

Advanced Web Programming C2. Basic Web Technologies

Introduction to using HTML to design webpages

Lesson: 6 Database and DBMS an Introduction. Lesson: 7 HTML Advance and features. Types of Questions

Desire2Learn: HTML Basics

Chapter 2. Self-test exercises

APPENDIX THE TOOLBAR. File Functions

LING 408/508: Computational Techniques for Linguists. Lecture 14

Transcription:

HTML Tags <A></A> Tag Either HREF or NAME is mandatory Definition and Attributes The A tag is used for links and anchors. The tags go on either side of the link like this: <A HREF="aURL">the link </A If the link is to another page HREF is set equal to the URL of that page: HREF NAME <A HREF="http://www.cnn.com"> CNN </A> If the link is an anchor HREF is set equal to the pound sign followed by the name of the anchor: <A HREF=#AnchorName> to the anchor</a> If the NAME attribute is included instead of the HREF attribute then the A tag is being used to mark a spot in the page that can later be pointed to by a link. In this case the </A> tag immediately follows the opening tag: <B></B> <BLINK></BLINK> <BODY></BODY> All attributes are optional. <A NAME=ANCHORNAME></A> The B tag makes the text between <B> and </B> bold: <B>This text will be BOLD.</B> The B tag makes the text between <BLINK> and </BLINK> blink: <BLINK>This text will blink.</blink> The BODY tag surrounds all the content of your site. It allows you to set the look and feel of your site through its attributes. TEXT The TEXT attribute allows you to set the color of the text: <BODY TEXT=red> A page with that body will have red text. The attribute allows you to set the color of the background: <BODY =blue> A page with that body will have a blue background. The BACKGROUND attribute allows you to set an image as the background:

<BR> <CENTER></CENTER> <FONT></FONT> All attributes are optional <FORM></FORM> BACKGROUND <BODY BACKGROUND=monkey.jpg> A page with that body will have a monkey for a background (if there was an image monkey.jpg in the same folder as it). The BR tag inserts a line break in the page. The CENTER tags align the text between them in the center of the page The FONT tags allow you to set the color and size of a specific piece of text. Unlike the BODY tag the FONT tag only changes the text between the opening <FONT> and closing </FONT> tag. COLOR SIZE The COLOR attribute allows you to set the color of the text: <FONT Color=red>Red Text </FONT> The SIZE attribute allows you to set the size of the text: <FONT SIZE=6>Big Text </FONT> The FORM tags must surround all elements of a form. The opening <FORM> tag has two attributes method and action. <H1></H1> through <H6></H6> The header tags: H1, H2,H3,H4,H5,H6, make the text between their opening and closing tags bold and large. H1 is the largest and H6 is the smallest. <H3>Big Bold Text</H3> <HEAD></HEAD> <HTML></HTML> <I></I> <IMG> SRC is mandatory <H1>Bigger Bold Text</H1> The HEAD tag surrounds information about the page. The HTML tags must surround the entire page. The I tag makes the text between <I> and </I> italic: <I>This text will be Italic.</I> This tag is used to insert an image into a page. The image is displayed where the <IMG> tag is inserted. The SRC tag tells the browser what image to insert. SRC WIDTH <IMG SRC=monkey.jpg> Would insert the image of the monkey. The width tag tells the browser what the dimensions of the image should be. If the dimensions of the image are different than what is given the browser stretches the

<INPUT> NAME and TYPE are required. HEIGHT image to make it fit. The height tag tells the browser what the dimensions of the image should be. If the dimensions of the image are different than what is given the browser stretches the image to make it fit. The input tag is used to insert a form element into a form. It must go between the <FORM> and </FORM> tags. NAME The NAME attribute is used to determine what information came from what form element. In the case of radio buttons all the buttons in a set must have the same name. This attribute Tells the browser what type of form element to insert. <INPUT TYPE = "text" > will be a text field. TYPE <INPUT TYPE = "checkbox"> will be a checkbox. <INPUT TYPE = "radio"> will be a radio button. <INPUT TYPE = "reset"> will be a reset button. SIZE VALUE <INPUT TYPE = "submit"> will be a submit button. This attribute defines how big the element will be. This attribute defines what the element will be set to. For example: <INPUT TYPE = "text" NAME="email" SIZE=15 VALUE="type name here"> <LI> <OL></OL> <OPTION> Will create a text field with the words "type name here" in it by default. The LI tag creates a new element in an ordered or unordered list. <OL> <LI>element one. <LI>element two. </OL> The OL tags start and end an ordered list. All of the elements in the list must be inside these two tags. The OPTION tag creates a new option for the selection box it is contained in. <SELECT NAME="gender">

<OPTION> Male <OPTION> Female <OPTION> Undecided </SELECT> <P> <SCRIPT></SCRIPT> The LANGUAGE attribute is mandatory <SELECT></SELECT> Will create a selection box with three options. The P tag starts a new paragraph by putting a double line break into the page. The Script tag lets you use scripting languages such as Javascript in a web page. In our case LANGUAGE will always be set equal to "Javascript." <SCRIPT LANGUAGE="Javascript">The Script Goes Here</SCRIPT> The contents of the script must go between these two tags. The SELECT tag will create a selection box within a form. The SELECT element must have at least one OPTION tag within it: <SELECT NAME="gender"> <OPTION> Male <OPTION> Female <OPTION> Undecided </SELECT> <TABLE> All attributes are optional <TD></TD> All attributes are optional The TABLE tag must surround an entire table. It's attributes determine how the table looks. BORDER CELLPADDING This defines how big the borders of a table will be. This defines how far from the edge of a cell the content in that cell will be CELLSPACING This defines how far apart the cells of the table will be. WIDTH This defines the width of the table This defines the background color of the table. If a color is specified in the TR or TD tags is ignored for that row, or cell respectively. The TD tag surrounds the contents of a cell within a table. Every TD tag must be within the <TABLE> and </TABLE> tags. This determines how the content in the cell is aligned. ALIGN <TD ALIGN=RIGHT> will make the cell right justified <TD ALIGN=CENTER> will make the cell centered <TD ALIGN=LEFT> will make the cell left justified

This determines where the content in the cell is placed VALIGN <TD VALIGN=TOP> will place the content at the top of the cell. <TD VALIGN=MIDDLE> will place the content in the middle of the cell. <TD VALIGN=BOTTOM> will place the content at the bottom of the cell. <TEXTAREA></TEXTAREA> ROWSPAN COLSPAN The attribute controls the background color of this cell. As with the attribute in the <TABLE> tag, can only be assigned a built-in color or RGB value (e.g. ="blue"). If no is specified, the cell will have the same background color as the row. ROWSPAN controls how many rows the cell occupies, allowing you to merge the cells of three rows into one tall cell. The default is 1, but you can increase this attribute to be anything up to the number of remaining rows. For example, ROWSPAN=3 will cause the cell to be 3 rows high. When you have set a cell to occupy more than one row, you will usually be filling fewer cells in the next few rows. If, for example, you set ROWSPAN=4 on one cell in a table that is 5 columns wide, the next 3 rows would have 4 columns to fill instead of 5. COLSPAN controls how many columns the cell occupies, allowing you to merge the cells of three columns into one long cell. The default is 1, but you can increase this attribute to be anything (if you raise it above the number of remaining columns, it will create new ones on the right). For example, COLSPAN=3 will cause the cell to be 3 columns long. The TEXTAREA tag creates a text area within a form NAME ROWS The NAME attribute is used to determine what information came from what form element. This defines how many rows of text will fit in the text area. This defines how many columns of text will fit into the

COLS text area. <TITLE></TITLE> <TR></TR> <TT></TT> <U></U> <UL></UL> The TITLE tag must go between the <HEAD> and </HEAD> tags. The title of the page is placed between the <TITLE> and </TITLE> tags: <TITLE> THE TITLE GOES HERE</TITLE> ALIGN VALIGN This determines how the content in all the cells in this row is aligned. It is used the same way the TD ALIGN attribute is. This determines how the content in all the cells in this row is vertically aligned. It is used the same way the TD VALIGN attribute is. The attribute controls the default background color of every cell in the row. As with the attribute in the <TABLE> tag, can only be assigned a built-in color or RGB value (e.g. ="blue"). If no is specified, the row will have the same background color as the table. The B tag makes the text between <TT> and </TT> fixed width: <TT>This text will be fixed width.</tt> The U tag makes the text between <U> and </U> underlined: <U>This text will be underlined.</u> The UL tags start and end an unordered list. All of the elements in the list must be inside these two tags.