Html provide a way of Displaying web pages with text and images or multi-media content.
- HTML is not a programming language, but a markup language.
- An HTML file is a text file containing small Makup tags. The makup tags tells the web browser,such as Mozila firefox or google chrome ,how to display the page.
- An HTML file must have An .html or htm file extension.HTML Stand for Hyper text Markup language.HTML, or Hyper Text Markup Language, is the standard language used tocreate and design web pages.
- It provides the basic structure and content of a web page by using a system of tags and attributes.
#HTML Pages Are of Two Types:-
- STATIC PAGES:- You can only see the contents of a web pages ,without being able to have any intrection with it.
- DYNMIC PAGES:-Dynamic pages are those where the content of web pages depend on user input,so intrection with the user is required in order to display the web pages.
#Here's a brief overview of how HTML works:
#TAGS:-
- To create a tag HTML gives certain characters special meaning.
- Putting character within Angle brackets creates a tag.
For ex:-<h1>a heading tag</h1> , <p> is the opening tag for a paragraph, and </p>
is the closing tag.
#There Are two Types of Tags:-
#Container Tag:- Which has opening and closing tag. for example:-
<html>-------</html>
<head>------</head>
<body>------</body>
#Empty tag:- Which has only opening tag.
example:-
<br>
<hr>
<area>
<base>
<img>
<input>..
#Elements:-
The HTML element is everything from the start tag
to the end tag:
<tag name>Content goes here...</tag name>
Examples of some HTML elements:
<h1>My First Heading</h1>
<p>My first paragraph.</p>
HTML Attributes:-
- All HTML elements can have attributes
- Attributes provide additional information about
elements
- Attributes are always specified in the start tag
- Attributes usually come in name/value pairs like: name="value"
For Example:-
<p align="center">write any content</p>
# How to Practically Used Html.....
HTML Editors:
- Learn HTML install any brower your pc and notepad simple or notepad++.
- I recommend Using Notepad++ TextEdit.
- First you can go chrome,than search download notepad++.
- you can free of cost download text editor any pc .
Step 1: Open Text Editer Notepad++
Step 2: Write Some HTML
Write or copy the following HTML code into Notepad:
<html>
<head>
<title>simple html program</title>
</head>
<body>
Any thing write in this section.......
</body>
</html>
Step 3: Save the HTML Page
Save the file on your computer. Select File > Save or save as option in the Notepad++ menu.
Name the file "simpleprogram.html" .
Step 4: View the HTML Page in Your Browser
Open the saved HTML file in your favorite browser (double click on the file, or right-click - and choose "Open with option").