Search Header Logo
Working with HTML

Working with HTML

Assessment

Presentation

Computers

5th Grade

Hard

Created by

97412556 Shamsul

Used 5+ times

FREE Resource

46 Slides • 0 Questions

1

Working with HTML

by Shamsul Annuar Hj Sulaimin

Slide image

2

Terms in HTML

World Wide Web (WWW) 

Systems of Internet servers that support specially formatted documents in a language called Hyper Text markup language (HTML).


It makes possible to jump from a document to another document by clicking the hot spots.


It needs web browsers to be access into WWW.

3

Terms in HTML

Web Browser

web browser, also known as an internet browser or simply a browser, is a software application that lets people access the World Wide Web.


web browser is a type of software that allows you to find and view websites on the Internet.


Common web browsers include Microsoft Internet Explorer, Google Chrome, Mozilla Firefox, and Apple Safari.

4

Terms in HTML

HTML  

Hyper Text Markup Language the authoring language used to create documents on the WWW.


HTML defines the structure and layout of a Web document by using a variety of tags and attributes such as <HTML code> and </HTML code> to structure text into headings, as well as paragraphs, lists, hypertext links etc.

5

Terms in HTML

File naming convention 

Every HTML file should have an extension of“.htm” or”.html” in order to the browser can recognize it.

6

Terms in HTML

Hypertext

Hypertext is text with links. With hypertext the computer makes the following such references as easy as turning the pages. Readers can escape from the sequential organization of the pages.

7

Terms in HTML

Text editor

A text editor is a computer program that lets a user enter, change, store, and usually print text where characters and numbers, are encoded by the computer to have meaning to users or to other programs.


Notepad is a simple text editor for Microsoft Windows and a basic text-editing program which enables computer users to create documents.

8

Standard tags and format used

 <html>

  <title> (enter here what document is all about)</title>

  <body>

              (here comes the contents of the page)……….. and ends with

 </body>

 </html>

9

Steps to start your HTML file

Step 1

Launched your Notepad by following this steps :


I. Click your Start button

II. Drag your cursor to the Program folder

III. Locate the Accessories folder

IV. Drag the cursor the Notepad applications

10

Step 2

Then type this into your Notepad screen:

 

<html>

<body>

            WELCOME TO MY FIRST WEBPAGE

</body>

</html>


Save the file by pressing File and  Save.

When it ask for file name, Save As  “file1.html”. 

Remember every time when you want to save your new works, change the save as type from Text Document (.txt) into All Files.

11

Steps 3

Viewing your first HTML file in browser.


Launched your web browser such as Internet Explorer, Google Chrome etc.


At your browser, locate Menu Bar and click at File then Open and Browse.


Find the location of .html file saved and click on it.


you will find the partial URL at the checkbox and click OK

12

Steps 4

Modifying an existing HTML file 

You can at any time to make modifying to your HTML file.


After completely made changes, you can simply save the file.


To confirm the changes you have made, you need to refresh the page by using the Refresh button

13

HTML TAGS AND APPLICATIONS

<!DOCTYPE> 

Defines the document type


<html>

HTML tag: It is the root of the html document which is used to specify that the document is html.


<head>

Head tag: Head tag is used to contain all the head element in the html file. It contains the title, style, meta, … etc tag..



14

HTML TAGS AND APPLICATIONS

<body>

Body tag: It is used to define the body of html document. It contains image, tables, lists, … etc.


<title>

Title tag: It is used to define the title of html document.



15

HTML TAGS AND APPLICATIONS

Open and closed tags.

Open tag

<...>

Closed tag

</....>

Example

<title>index</title>

remember you need to closed the tag application to stop the application from continuously apply.

16

Heading Tags

It is used to define the heading of html document.

<h1> this is Heading1</h1>

<h2> this is Heading2</h2>

<h3> this is Heading3</h3>

<h4> this is Heading4</h4>

<h5> this is Heading5</h5>

<h6> this is Heading6</h6>

17

Paragraph Tag

It is used to define paragraph content in html document.

Without <p> tag, the text in your HTML document will appear as large continuous paragraph.


<p> Statements... </p>


18

Bold tag

It is used to specify bold content in html document.

By using bold tag you will have the bold text.


<b> Statements... </b>


19

Italic tag

It is used to write the content in italic format.

The text will become italic style 


<i> Statements... </i>


20

Underline tag

It is used to set the content underline.

it will underline the text


<u> Statements... </u>


21

Small (text) tag

It is used to set the small font size of the content.

Text will slightly smaller than normal


<small> Statements... </small>


22

Deleted text tag

It is used to represent as deleted text. It cross the text content.

Representing as deleted text by strike-through text


<strike> Statements... </strike>


23

Big (text) tag

It is used to set the big font size of the content.

Text will slightly bigger than normal 


<big> Statements... </big>

24

Text alignment tags


Left margin

<P align= “left”>…</p>      the paragraph will start at the left margin


Right margin

 <P align= “right”>…</p>   the paragraph will start at the right margin


Center

<P align= “center”>…</p>   the new paragraph will begin at the center.

 

25

Font control

To control the font either in size, face or color.


26

Font size 

To set the size of any text on a Web page range from font size 1 to 7.

<font size=”1”> this is font size 1</font>

<font size=”2”> this is font size 2</font>

<font size=”3”> this is font size 3</font>

<font size=”4”> this is font size 4</font>

<font size=”5”> this is font size 5</font>

<font size=”6”> this is font size 6</font>

<font size=”7”> this is font size 7</font>

27

Font color

You can have a color text by inserting the HTML color tags.

<font color=”red”> this text is red</font>

<font color=”green”> this text is green</font>

<font color=”yellow”> this text is yellow</font>

<font color=”blue”> this text is blue</font>

<font color=”purple”> this text is purple</font>

28

Font face

This tag will enable you to have the variety font text such as Arial, Tahoma, Algerian…etc.

<font face=”Arial”> this is an Arial font</font>

<font face=”Tahoma”> this is a Tahoma font</font>

<font face=”Algerian”> this is an Algerian font</font>

<font face=”Comic Sans MS”> this is a Comic Sans MS font</font>

29

Combination of font tags

You can combine all the font tags in one-text documents such as size, face and color.

<font size=”7”,font face=”Arial”, font color=”red”> WELCOME TO MY FIRST WEB PAGE</font>

30

Arranging text list

There are 3 basic types of HTML lists. 

<ol> Ordered List

<ul> Unordered list or bulleted list

<dl> Definition list

31

Ordered lists


List is arranged in number and tags begins with <ol> and end with </ol>. 


<ol>

<li>durian</li>

<li>rambutan</li>

<li>pulasan</li>

</ol>

32

Bulleted lists

Also called as unordered list which have bulleted appeared in list.


<ul>

<li>durian</li>

<li>rambutan</li>

<li>pulasan</li>

</ul>

33

Definition list

The list of item and their meaning.

<dl> Definition list

<dt> Definition terms

<dd> Definition data


<dl>

<dt>HTML

<dd>Hyper Text Markup Language

<dt>ISP

<dd>Internet Service Provider

</dl>

34

Link to a specific page

Links are hypertext that will connect to other locations and address whenever it are clicked.


<a href=”A:/file2.html”>Next Page</a>

35

Remote links

Remote links is used when the locations specified in the tag are not on your computer such as connecting to search engine


<a href=“http://www.yahoo.com”>Yahoo.com</a>

36

E-mail links

This links will aloud the user to be link to your e- mail as a feedback or “talk back” to you.


<a href=“mailto: lluqman@yahoo.com”>…</a> 

37

Placing an image 

The HTML <img> tag is used to embed an image in a web page.


The <img> tag is empty, it contains attributes only, and does not have a closing tag.


<img src=”F://luqman1.jpg”>

38

Image Size - Width and Height

You can use the style attribute to specify the width and height of an image.


<img src="F;//luqman1.jpg" , width="300", height="300">

39

Labeling an image

You can label or write a message in place of the image.


<img src =”filename, ”alt=”text”>


<img src=”F://luqman1.jpg”, alt="This is me">

40

Hot-Spot Image

You can have a graphic as a link on your web page.


< a href=”http:///www.uitm.edu.my”><img src=”A:/ UiTM logo.gif”></a>

41

Changing background colors 

You can change the colors of your own choice at any time.


<body bgcolor=”red”>

42

Background image

You can also fill the background with graphics by using images as wallpaper tile behind text.


<body background=” A:/ UiTM logo.gif”>

43

Layout with tables 

Tables can be creating with HTML by using the tags described follows.


<table>        

Defines the beginning and of the data.

<caption>  

Defines the caption for title of the table.

<tr>     

Defines the beginning and end of the data  in a table row.

<td>              

Defines the data in table cell.

<th>            

Called as cell header.

44

Layout with tables 

<table>

<tr>

<th>Fruits

<th>Animals

<tr>

<td>Durian

<td>Tiger

<tr>

<td>Orange

<td>Deer

</table>

45

Develop your homepage

<html>

<body>

<title>home</title>

<center>

<bgsound src="...">

<body bgcolor="...">

<body background="...">

<marquee behavior="alternate">

<h1>WELCOME TO MY WEBPAGE</h1><br>

<img src="...", length="250", width="250"><br><br>

<font face="arial", size="6",color="red"> This is me :)</font>

<a href="...">NEXT</a>

</body>

</html>

46

END OF HTML CLASS


Working with HTML

by Shamsul Annuar Hj Sulaimin

Slide image

Show answer

Auto Play

Slide 1 / 46

SLIDE