How to create an html document, Computer Engineering

Assignment Help:

An HTML document can be created by using any HTML editor or text editor such as notepad etc.

STEPS FOR CREATING A SIMPLE HTMLPROGRAM

506_HOW TO CREATE AN HTML DOCUMENT.png

 

1. Go to Start -> Programs->Accessories->Notepad.

2. Begin with a document type tag and an <HTML> opening tag. Enter the below line in your doc.

<HTML>

3. Indicate that you are beginning head element of a document by issuing <HEAD> opening tag. If a <HEAD> element is included, it should appear within an <HTML> element. Following line must appear next in your document:

 <HEAD>

4. <TITLE> element is used to indicate title of an HTML document. <TITLE> tags are placed within head component of a document and title is placed between opening and closing <TITLE> tags. Add the following <TITLE> element to your document.

<TITLE>MyFirst Page</TITLE>

5. To end the head area issue a <HEAD> closing tag.

</HEAD>

So the <HEAD> element is nested within <HTML> element.

6. At this point body of the document is developed. A <BODY> opening tag indicates that this point has been reached. Enter following line.

<BODY>

7. In the below illustration, body of the document contains a simple text statement which you can now enter in your file:

Hello World!

8. A </BODY> closing tag marks the end of <BODY> element. Similar to Head element, <BODY> element is also completely nested within <HTML> element. To end the <BODY> element, issue closing corresponding tag in your document.

</BODY>

9. Lastly, terminate <HTML> tag with </HTML> as shown below:

942_HOW TO CREATE AN HTML DOCUMENT1.png

10.  Save your document as mypage.html

357_HOW TO CREATE AN HTML DOCUMENT2.png

11. To view the document open the .html document in the browser.


Related Discussions:- How to create an html document

What is structural hazard, What is structural hazard? Structural hazard...

What is structural hazard? Structural hazard is the situation when two instructions needs the use of a given hardware resource at the similar time. The most common case in whic

Web technology, Write short notes on Event Model.

Write short notes on Event Model.

Describe the various characteristics of udp protocol, Describe the various ...

Describe the various characteristics of UDP protocol. The characteristics of the UDP are as follows: End to end: UDP is transport protocols that can distinguish between

What is fork swap, What is Fork swap? "Fork ()" is a system call to mak...

What is Fork swap? "Fork ()" is a system call to make a child process. When the parent process calls "fork()" system call, the child process is formed and if there is short of

What are multidimensional arrays, What are Multidimensional Arrays? Mul...

What are Multidimensional Arrays? Multidimensional array: Multidimensional arrays can be defined as "arrays of arrays". For example, a bidimensional array can be fictional as a

Addressability of memory - computer architecture, Addressability: Loc...

Addressability: Location-addressable Each alone accessible unit of information in storage is chosen with its numerical memory address. In the modern computers, location-a

Call the user methods by creating the object, Make a class library and desc...

Make a class library and describe class 'User'. In User class describe the public, protected and Friend functions. Make a console application andadd a reference to this library and

Define the difference between static ram and dynamic ram, Define the differ...

Define the difference between static RAM and dynamic RAM? The RAM family comprises two important memory devices that are static RAM (SRAM) and dynamic RAM (DRAM). The main diff

What is check box, A dialog box, generally square, that records an on or of...

A dialog box, generally square, that records an on or off value.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd