HTML. A computer network is a collection of computers linked through cables or wireless means.



Similar documents
CSE 3. Marking Up with HTML. Tags for Bold, Italic, and underline. Structuring Documents. An HTML Web Page File

Caldes CM12: Content Management Software Introduction v1.9

Introduction to Web Design Curriculum Sample

Cisco Adaptive Security Appliance (ASA) Web VPN Portal Customization: Solution Brief

An Attribute is a special word used inside tag to specify additional information to tag such as color, alignment etc.

New Perspectives on Creating Web Pages with HTML. Considerations for Text and Graphical Tables. A Graphical Table. Using Fixed-Width Fonts

Introduction to XHTML. 2010, Robert K. Moniot 1

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

About webpage creation

Short notes on webpage programming languages

ICT 6012: Web Programming

CS412 Interactive Lab Creating a Simple Web Form

Creating HTML authored webpages using a text editor

04 Links & Images. 1 The Anchor Tag. 1.1 Hyperlinks

Introduction Designing your Common Template Designing your Shop Top Page Product Page Design Featured Products...

JISIS and Web Technologies

The Web Web page Links 16-3

Urban Planet Website Content Management System. Step-by-Step Instructions

Creating your personal website. Installing necessary programs Creating a website Publishing a website

WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS ( )

HTML Basics(w3schools.com, 2013)

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

Lesson Review Answers

Advanced Drupal Features and Techniques

Lab 1.3 Basic HTML. Vocabulary. Discussion and Procedure

HTML Forms and CONTROLS

Contents. Launching FrontPage Working with the FrontPage Interface... 3 View Options... 4 The Folders List... 5 The Page View Frame...

Foundation of Information Technology (Code No: 165) Sample Question Paper II Summative Assessment - Term II. Max Time: 3 hours Max Marks: 90 SECTION A

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE WEB EDITING

How to Create a Mobile Responsive Template in ExactTarget

Website Planning Checklist

The McGill Knowledge Base. Last Updated: August 19, 2014

Creating Personal Web Sites Using SharePoint Designer 2007

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

WHITEPAPER. Skinning Guide. Let s chat Velaro info@velaro.com by Velaro

So we're set? Have your text-editor ready. Be sure you use NotePad, NOT Word or even WordPad. Great, let's get going.

How to Create an HTML Page

BlueHornet Whitepaper

Creating a Resume Webpage with

HTML & XHTML Tag Quick Reference

HTML Tables. IT 3203 Introduction to Web Development

HTML, CSS, XML, and XSL

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

Creating Web Pages with Microsoft FrontPage

Fortis Theme. User Guide. v Magento theme by Infortis. Copyright 2012 Infortis

HTML TIPS FOR DESIGNING

COMMON CUSTOMIZATIONS

Web Design Revision. AQA AS-Level Computing COMP2. 39 minutes. 39 marks. Page 1 of 17

Web Development 1 A4 Project Description Web Architecture

ANDROID TRAINING COURSE MODULES. Module-I: Introduction to Android. Introducing Android. Installing Development Tools. Using the Emulator.

Atable is an orderly arrangement of data distributed across a grid of rows and

Version 4.0. Unit 3: Web Design. Computer Science Equity Alliance, Exploring Computer Science Unit 3: Web Design 102

How to Manage Your Eservice Center Knowledge Base

Web Design Module Outline

Embedding a Data View dynamic report into an existing web-page

Using Adobe Dreamweaver CS4 (10.0)

File types There are certain image file types that can be used in a web page. They are:

Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,:

Interaction between browser and server. HTML (Hyper Text Markup Language)

Script Handbook for Interactive Scientific Website Building

Web Design and Databases WD: Class 7: HTML and CSS Part 3

Campaign Guidelines and Best Practices

KOMPOZER Web Design Software

07 Forms. 1 About Forms. 2 The FORM Tag. 1.1 Form Handlers

Advanced Web Design. Zac Van Note.

Create a Web Page with Dreamweaver

CIS 467/602-01: Data Visualization

ANATOMY OF A WEB PAGE...

Accessibility in e-learning. Accessible Content Authoring Practices

Microsoft FrontPage 2003

Frames. In this chapter

ADOBE DREAMWEAVER CS3 TUTORIAL

ICE: HTML, CSS, and Validation

Adobe Dreamweaver CC 14 Tutorial

TEMPLATE MANUAL Table of Contents

HTML Lesson 7. Your assignment:

creating web pages in HTML due by noon on Friday, January 28

7 th Grade Web Design Name: Project 1 Rubric Personal Web Page

Creating an HTML Document Using Macromedia Dreamweaver

How to Properly Compose HTML Code : 1

Chapter 2 HTML Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

By Glenn Fleishman. WebSpy. Form and function

ART 379 Web Design. HTML, XHTML & CSS: Introduction, 1-2

Transcription:

What is a computer network? HTML A computer network is a collection of computers linked through cables or wireless means. What is Internet? Internet is a network of computers of different sizes and configurations around the globe. What do you need to set up Internet? In order to setup Internet, we need a computer, MODEM (external or internal) and a telephone connection. How do you set up Internet? To set up the Internet, the computer has to be connected to the telephone through the MODEM. The user has to register with an Internet Service Provider (ISP) with a username, who in-turn gives an Internet registration address on the computer which shall be used to connect the computer to the Internet. This registration address is called the IP address. What is a MODEM? A MODEM is the short form of Modulator and Demodulator. The MODEM converts the Analog signals received from the telephone line to digital form for the computer and vice versa. What are internal and external modems? Internal modems are those which can be fixed inside the computer. They are available in the form of printed circuit boards with connecting outlets. External modems are those, which are to be connected to the computer and placed outside the computer. They are available as separate units. What is a browser? A browser is a software which helps to receive and send information, designed using HTML, between two computers. There are different types of browser, the text browser which displays only text. Graphics cannot be displayed on these browsers. Graphic browsers display text as well as graphical information. Internet Explorer and Netscape Navigator are two examples of browsers. What is HTML? HTML stands for Hyper Text Markup Language. This language is used to design information that can be displayed on browser and transmitted across the Internet.

What are tags? Tags are commands used in HTML programming. There are two main types of tags Container tags and Empty tags., <BR>,, What are container tags? Container tags are those, which are in pairs. Other tags and messages are typed between the pair. e.g., What are empty tags? Empty tags appear as single tags. e.g. <BR>, <HR> What are attributes of tags? Attributes of tags are the properties of the tags that have special functions to perform such as BGCOLOR gives the background colour, BORDERCOLOR gives a color to the border of a table. Let us see the tags used to design the HTML pages. All HTML pages begin with and end with. This is a container tag. An HTML page has two main sections, the header and the body. The header section of the HTML is designed using the <HEAD></HEAD>. This container tag contains another container tag <TITLE></TITLE>. Any information typed between <TITLE></TITLE> tags appear on the title bar of the browser window in which the HTML page is displayed. The body of an HTML page is designed using the tags. The information which has to be displayed on the browser is enclosed between the and tag. The following example shows the usage of the above-discussed tags. <HEAD> <TITLE>MY PAGE</TITLE> </HEAD> This is my first HTML page. The message MY PAGE is displayed on the title bar

The message This is my first HTML page." appears as the body of the HTML page. The text typed in the body of the HTML page appear continuously. It can be broken into multiples using the <BR> tag. This is an empty tag. It inserts a line break and pushes the text after the cursor to the next line as shown in the example below <HEAD> <TITLE>MY PAGE</TITLE> </HEAD> This is my first <BR>HTML page. TEXT-FORMATTING : Modifying the appearance of the text during the presentation on the browser pages. The text can be formatted using three simple container tags as shown in the example <HEAD><TITLE>MY PAGE</TITLE></HEAD> This text is <B>bold</B>. <BR> This text is in <I>italics</B>.</BR> This text is <U>underlined</U>.

HTML provides a set of six sizes of headings which can be used with the help of six pair of tags. The following example illustrates the usage of the tags <HEAD> <TITLE>DIFFERENT TYPES OF HEADINGS</TITLE> </HEAD> <H1>HELLO</H1> <H2>HELLO</H2> <H3>HELLO</H3> <H4>HELLO</H4> <H5>HELLO</H5> <H6>HELLO</H6> We can create new paragraphs using the tag <P>. Paragraphs can be aligned to the left of the page, right of the page or at the center of the page using the attribute ALIGN of the tag <P>. The following example explains the difference between the <BR> and the <P> tags and the ALIGN attribute of the tag <P>. <HEAD> <TITLE>PARAGRAPHS</TITLE> </HEAD> The BR tag moves the cursor to the<br> beginning of the next line.<br> The P tag inserts a blank line and then<p> moves the cursor to beginning of the line after the blank line. <P ALIGN=LEFT> This part of the text has <B>left.</B> alignment. <P ALIGN=RIGHT> This part of the text has <B>right </B> alignment. <P ALIGN=CENTER> This part of the text has <B>center</B> alignment.

Superscript and Subscript Certain situations arise which displaying formulae on the HTML pages. These involve special type of formatting. For example, when we need to display formula such as H 2 O, CaCO 3, H 2 SO 4, or x 2, 3x 3, we use special tags to either raise the text above or push them down below the normal line of writing. Tabs to display the text like x 2, 3x 3 are called superscript tags and those used to display text such as H 2 O, CaCO 3, H 2 SO 4 are called subscripts tags. Tag used for superscript formatting is <sup></sup>. To display x 2, 3x 3 the HTML code will be as follows x 2 = x<sup>2</sup> 3x 3 = 3x<sup>3</sup> Tag used for subscript formatting is <sub></sub>. To display H 2 O, CaCO 3, H 2 SO 4 the HTML code will be as follows H 2 O = H<sub>2</sub>O CaCO 3, = CaCO<sub>3</sub> H 2 SO 4 = H<sub>2</sub>SO<sub>4</sub> WORKING WITH GRAPHICS Graphics are any pictures drawn using a computer. The pictures are also referred by the name images. There different formats of storing images. Different formats have different extensions in their filenames..bmp - Bit Map Picture format..gif - Graphics Interchange Format (can be still pictures or animated).jpg - (JPEG) Joint Photographic Experts Group.TIF - Tagged Image File format. PNG - Ping format The best formats used on HTML pages are GIF, JPG and PNG. The GIF occupies less memory space but the quality in colour transperancy is not appreciable. The JPG and the PNG format occupy less memory space and retain the colour transperancy of the original picuture. We cannot use the cut-paste or copy-paste technique to display images on the HTML pages.

<IMG> tag is used to insert pictures on an HTML page. The important attribute of <IMG> tag is the SRC which specifies the path and the name of the source file that contains the image (picture). Given a picture rabbit1.jpg, the following code uses the IMG tag to insert the picture into an HTML page. The output of the code will be as given. This picture does not have any border. <IMG SRC= rabbit1.jpg > To provide a border of a specified thickness, we have to use the attribute BORDER. In the example, the border of thickness 3 pixels has been specified. <html> <body> <img src="rabbit1.jpg" border="3"> </body> </html> In order to place this picture as a background for the entire HTML page, we use the following code and the output will as shown in the picture. <html> <body background="rabbit1.jpg"> <img src="rabbit1.jpg" border="3"> </body> </html>

HTML - Hyperlinks Hyperlinks play very important role in connecting pages in the same website or pages across websites. They also connect different location in a large document. The hyperlinks which connect across sites are known as External hyperlinks, while those which connect the locations within the document are known as Internal hyperlinks. The tag which is used to create hyperlinks is the <A></A> container tag. This is tag is also called Anchor tag. EXTERNAL LINK External links are created with <A></A> tag in the following manner: <A HREF= http://www.google.com >Google</A> Link text Absolute path Hyperlink reference INTERNAL LINK Internal links are created in two stages. First the location to be liked is marked using the name attribute as follows: <A name = position1 ></A> Second step is linking this location using the HREF. <A HREF= #position1 >Position 1</A> Link text Named location Hyperlink Inserting the attribute target= _blank inside the tag <A> will open the page in a new window.

COLSPAN HTML- Tables COLSPAN and ROWSPAN Colspan is the attribute of the tag<table>. The purpose of COLSPAN is to indicate width of a columns in terms of the specified number of columns. The following example and the illustration display the action of COLSPAN. <TABLE> <TR> </TR> <TR> </TR> <TR> </TR> </TABLE> <TH>Product</TH> <TH COLSPAN=2>Amount</TH> <TD>COMPUTER</TD> <TD>$1299</TD> <TD>95c</td> <TD>MOUSE</TD> <TD>$15</TD> <TD>95c</TD> Product Amount COMPUTER $1299 95c MOUSE $15 95c The column containing Amount spans two columns. ROWSPAN Rowspan is the attribute of the tag<table>. The purpose of ROWSPAN is to indicate height of a row in terms of the specified number of rows. The following example and the illustration display the action of COLSPAN.

<html> <body> <table border=1 bordercolor="black"> <th rowspan=5>parts of a Head</th> <td>eyes</td> <td>nose</td> <td>mouth</td> <td>ears</td> <td>chin</td> </td> </table> </body> </html> Parts of Head Eyes Nose Mouth Ears Chin The row containing Parts of Head spans five rows