HOME
HTML Basic
HTML
Introduction HTML
Basic Tags HTML
Formatting HTML
Entities HTML
Links HTML
Frames HTML
Tables
HTML
Lists HTML
Forms HTML
Images HTML
Background HTML
Colors
HTML Advanced HTML
Fonts HTML
Styles HTML
Head HTML
Meta HTML
Scripts HTML Events
|
HTML introduction
what is HTML?
Full form of Html is Hyper Text Markup Language; the coding syntax used to write WWW documents, which are read by browsers.In practical terms, HTML is a collection of
platform-independent styles (indicated by markup tags) that define the various components of a World Wide Web document. HTML was invented by Tim Berners-Lee while at CERN,
the European Laboratory for Particle Physics in Geneva.HyperText Markup Language, the coding language used to create hypertext documents for the World Wide Web. In HTML, a
block of text can be surrounded with tags that indicate how it should appear (for example, in bold face or italics). Also, in HTML a word, a block of text, or an image can
be linked to another file on the Web. HTML files are viewed with a World Wide Web browser.In computing, HyperText Markup Language
(HTML) is a markup language designed for
the creation of web pages and other information viewable in a browser. HTML is used to structure information -- denoting certain text as headings, paragraphs, lists and so
on -- and can be used to define the semantics of a document.
NoteHtml is not the programming language. but this is the markup language to your page to display text,color,images,sound.you use the language to format documents and links them together,regardless of thetype of computer with which the file was originally created
Why html is important
If you want to send some word documentation to your friend who doesent have word processor he/she canot open the file.
the smae thing happens for database,image,spredsheet ext. so to make available to everybody though they dont have required software.
html came into existance.html is written in plain text any web browser and word process software can read. these elements called tags are created by the world wide web(W3C)
|
Lets write test.html
<html>
<head>
<title>Title of page</title>
</head>
<body>
This is my first homepage. <b>This text is bold</b>
</body>
</html>
Where to write the html code?
I Have used notepad to write html code
5 steps
- open the notepad
- write the html code
- press Save As and save as test.html or test.htm
- open the webbrowser and open the test.html
- Thats it this is your first page congrates!!!
Explanation-
The first tag in your HTML document is <html> This tag tells your browser that this is the start of an HTML document.
- The last tag in your document is </html>. This tag tells your browser that this is the end of the HTML document.
-
The text between the <head> tag and the <head> tag is header information. Header information is not displayed in the browser window.
-
The text between the <title> tags is the title of your document. The title is displayed in your browser's caption.
-
The text between the <body> tags is the text that will be displayed in your browser.
-
The text between the <b> and <b> tags will be displayed in a bold font.
HTM or HTML Extension?
When you save an HTML file, you can use either the .htm or the .html extension. We have used .html in our examples.
Html Editor
You can easily edit HTML files using editor like FrontPage, Claris Home Page, or Adobe PageMill instead of writing your markup tags in a plain text file.
web hosting
|
|
|