html

Post on 16-Apr-2017

235 views 0 download

Transcript of html

ByM.Divya

INTRODUCTION

HTML STANDS FOR HYPERTEXT MARKUP LANGUAGE.It came into existence in “1989” by

“ Tim Berner lee”.

STARTING A HTML DOCUMENT

STEP1: Open Notepad

START-PROGRAMS

ACCESSORIESNOTEPAD

Save the code by giving a filename with an extension . HTML

To view the created HTML document.Step 1: Open Internet ExplorerStartProgramsInternet Explorer

Now Internet Explorer window will be opened

Click on file open,to open

the file that you have saved.

Step3: A dialog box appears,type the filename or

for the file.

TAGS:

HTML uses two typesof tag elements:

i)Empty Tag ii)Container Tag

STRUTURE OF HTML DOCUMENTHTML document has

two sections:i)Head sectionii)Body section

Character style tags

<B>….</B> BOLD FACE III IT

<I>….<I> ITALIC IIIIT

<U>….</U> UNDERLINE IIIIT

<CENTER>…</CENTER> CENTER IIIIT

<BIG>….</BIG> BIG

<SMALL>….</SMALL> SMALL IIIIT

<BR>….</BR> BREAK BREAK<BLINK>….</BLINK> WORD BLINK   

Heading TAGSThere are six levels of

heading1 to heading6 in html.The heading tags has a start

tag and an end tag,H1,H2H3,H4,H5,H6 are the six levels

Marquee TagThe text enclosed with in the <marquee> and

</marquee> tag makes the text

to scroll from one end of the window to the

other end.

Images and SoundThe <IMG> tag is always

used withSRC attribute.SRC stands

for SOURCE.It refers to the filename

of an image.

ALT:Some browsers cannot image orSometimes it takes long time to

display the imageIn such cases,the ALT

attribute is used to display an alternate message

Sound Tag