Home | Ajax | BioInformatics | Dojo | EAI | EJB | Hibernate | J2ME | Java | Java Glossary | Java Servlets | JavaScript | Jboss | JDBC | JDO | Jmeter | JSF | JSP | JUnit | Maven | MySQL | Spring Framework | SQL | Struts | Technology | WAP | Web Services | XML


 
  
 
Programming Tutorials: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML
 

 
Facing Programming Problem?
Ask Questions?, Browse Latest Questions, Question-Answer Guidelines
Java
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments

What Exactly is HTML?

                         

Now lets see what exactly is HTML (Hyper Text Markup Language). It is a type of data file which is transferred to the client machine. The HTML file gets translated and displayed on the screen  if the client is using a Web browser like Netscape Navigator, Microsoft Internet Explorer etc. Let me give you a brief description of HTML.

What is an HTML File?

  • HTML stands for Hyper Text Markup Language.
  • An HTML file is a text file containing small markup tags.
  • The markup tags tell the Web browser how to display the page.
  • An HTML file must have an htm or html file extension.
  • An HTML file can be created using a simple text editor.

Go ahead and try it!
If you are running Windows, start Notepad.
If you are using Mac, start SimpleText.
Start TextEdit in OSX and change the following preferences: Open the the "Format" menu and select "Plain text" instead of "Rich text". Then open the "Preferences" window under the "Text Edit" menu and select "Ignore rich text commands in HTML files". If you do not change the preferences above, your HTML code will probably not work. 

Type in the following text:

<html>
	<head><title>Title of page</title></head>
	<body>
		This is my first homepage. <b>This text is bold</b>
	</body>
</html><html>
	<head><title>Title of page</title></head>
	<body>
		This is my first homepage. <b>This text is bold</b>
	</body>
</html>

Save the file as "firstpage.htm". 



Start your Internet browser. Select "Open" (or "Open Page") in the File menu of your browser. A dialog box will appear. Select "Browse" (or "Choose File") and locate the HTML file you just created - "firstpage.htm" - select it and click "Open". Now you should see an address in the dialog box, for example "C:\MyDocuments\firstpage.htm". Click OK, and the browser will display the page.

Lets have a look at print preview of the above example.

Description of the above Example.

We have started the HTML document by using the <html> tag and ended the same by using </html> tag. These two tags tell the browser about the starting and the ending of the document. Points to note:

  • Although header information doesn't not get displayed in the browser window, we have given the header information by using <html> and </html> tags.
  • Similarly we can give the title of the document by using the <title>, </title> tags which gets displayed in the browser's caption.
  • The <body> tag is used to give a body of the document to be displayed in the browser.
  • The text between the <b> and </b> tags is used to display the text in a bold font.

Remember, use either the .htm or the .html extension while saving an HTML file. Well, it is preferable to use .html extension.

                         

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Latest Searches:
Create
display
interfaces
sequential
logic iterate
Maya Effects Interpart
JAIDraw
diplay North American
Creating Hyperlink usi
EL Implicit Objects
struts pager tag
binary to hexadecimal
error-Unknown entity:
populate drop down
MULTIPLE SELECT COMBO
convert linked list to
remote
<html:optionsCollectio
AOP Example Spring
convert byte to char
StringTokenizer select
video player in java a
Jude
Hibernate Mapping
pass param from onr js
sap xi material
Display image on JSP p
php socket
CSV
indexof
how to call pl/sql fro
StringTokenizer specif
about java Bean
multipage
javaMail
PHP Database Related m
how to hide a select t
dashboard
cd change directory in
programs using filters
type Conversion of Str
Sams Teach Yourself Mi
Maya
opton:collection
to find word from a fi
binary search search i
get column count colu
get hibernate object
draw triangle
get url
Servlet Container
jsf upload
howtoretrievedatabasei
photo upload using tom
jcreator code of calcu
Struts Interview Quest
Define JSP
String to array in jav
Copy one or more files
Pattern Testing
Arrays
header
jms examples
set tooltip row jtable
how to call pl/sql fro
dynamic insert value J
program for display th
comparator
struts file upload
reads data into text f
read a row in oracle t
validat struts2 radio
Java Tutorial
Eclipse 3.4 EJB
form bean
download tomcat
how to retrieve databa
set cell value JTable
code for insert date,m
ebooks java web servic
Java String toLowerCase Example
Java String toCharArray Example
Java String substring Example
Java String indexOf Example
Java String startsWith Example
Java String hashCode Example
Java String matches Example
Java String length Example
Java String lastIndexOf Example
Java String isEmpty Example
Java String equalsIgnoreCase Example
Java String equals Example
Java String endsWith Example
Java String copyValueOf Example
Java String contentEquals Example
  EAI Articles
  Java Certification
Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.