Basic Introduction to Html 5
Html is the Hyper Text Markup Language for creating Web pages. We describe the Web page by using markup and a web page is created by using lots of element of Html. Element of Html are represented by tags. Tags are the very important part of html because web page are created by using tags and element also. These tags and element will not display in browser but use them to render the content of the page.
Explanation of important point: Tags are Element names surrounded by angle brackets:-
- <!DOCTYPE html> by the using of it defines that this document to be HTML 5
- <html> element is the root element of an HTML Page
- <head> element contains meta information about the document
- <title> element specifies a title for the document
- <body> element defines a the visible page content
- <h1> element defines a large heading
- <p> element defines a paragraph
Now to start the coding of the HTML, Html Editor should be installed in our system. If we have no any editor are installed then we can use Notepad(PC) or TextEditor(Mac).
But if we actually wants to learn HTML then i believe using text editor. Follow the following steps to start the notepad or text edit.
Step 1: Open Notpad(PC)
Open start screen (the window symbol at the bottom left on your screen). Type Notepad
Step 1: Open TextEdit(Mac)
Open Finder > Applications > TextEdit
Step 2: Write Some Html
You can copy this code into Notepad
<h1>My First Heading</h1>
<p>My first paragraph.</p>
Step 3: Save the HTML Page
save you file in your system with any name but extension on page should be only .html or .htm.
Step 4: View the HTML Page in Your Browser
double click on the file, or right-click – and choose “Open with” (select any browser).
Result will show like that:-
For next chapter please read next article..Continue