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

How do you make an image clickable in HTML, How do you make an image clicka...

How do you make an image clickable in HTML? Give an example. To create an image or text clickable hyperlinks are used, that use the and tags. Such tag has different paramet

Drawing sequential circuit on paper, design a sequential circuit that conti...

design a sequential circuit that continuously computes the function 2X + 3 or 3X + 1 where the variable X is a three-bit unsigned integer available on a serial interface. A special

Use verilog function to define the width of a multi-bit port, Can I use a V...

Can I use a Verilog function to define the width of a multi-bit port, wire, or reg type? Width  elements  of  ports,  wire  or  reg  declarations  require  a  constant  in  bot

What is a linker program, What is a linker program? Ans. links the prog...

What is a linker program? Ans. links the program with other programs required for its execution is called a linker program.

Determine the gray code for decimal number, Determine the equivalent Gr...

Determine the equivalent Gray code for decimal number 6 ? Ans. The equivalent Gray code for decimal number 6 is 0101 Because the Decimal number 6 is equivalent to binary nu

Cookies for one page in your site, How do you turn off cookies for single p...

How do you turn off cookies for single page in your site? We can turn off the cookies for one page:- By setting the Cookie. Discard property false.

Addition NO-SIGNS to the Write statement, Suppressing the number signs (+/-...

Suppressing the number signs (+/-) is carried out using the addition NO-SIGNS to the Write statement. Statement is false.

How call processing takes place, How call processing takes place? Fund...

How call processing takes place? Fundamental Call Procedure: Fig. demonstrates a simplification diagram exemplifying how two telephone sets (as subscribers) are interconnecte

Find out the correction to be applied in decimal adder, The correction to b...

The correction to be applied in decimal adder to the generated sum is ? Ans. 00110 is the generated sum when the correction to be applied in decimal adder. While the 4 bit su

What is dots per inch, Q. What is Dots per Inch? DPI (Dots per Inch) is...

Q. What is Dots per Inch? DPI (Dots per Inch) is a measure for actual sharpness of onscreen image. This relies on both the resolution and size of the image. Practical experienc

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