Wednesday, 13 November 2013

Add Content in HTML Document



First of all we revise what had we learn in previous post.


1.       Markups.

2.       Structure of the HTML document.

3.       How to save HTML document.


So we had saved our first page, named “page one”.
Now we are going to add some content in this document.
The first thing which decency tell us is to put a name of our web page. Which is seem to be:

There is no name but path is defining the name of web page


Name of the web page in HTML is defined as “title”, so we use this Markup to change the name as shown below:

Title markup is use to change the title of web page
Now open again your document with Internet Explorer: you will observe a charming result:



 so this is how we had change the web title.
Note the title command is always use between the head markup. 
Feel free to comment , have questions, suggestions or any sort of help.
I will answer as soon as possible.

Thank you and take care 


Fundamentals Of HTML

Before we start you should have;
  1. Notepad
  2. Dreamweaver 
  3. Internet Explorer
Notepad & Dreamweaver both are compilers. Notepad is common & initially present in PCs & Dreamweaver is a paid Application, more helpful in professional web development. if you have use Notepad before, you can easily work on Dreamweaver but its little bit difficult on vise verse.  
Introduction:
HTML stands for "Hyper Text Markup Language".HTML is a basic web designing  language, It only makes structure of website. HTML is way easier to learn then other web development languages.
Any file have extension".htm" or ".html" it means its written in HTML
I  hope you will enjoy learning HTML.

Let us write our first HTML Document:
  •  Open Note Pad.
Write
     
    First program structure in HTML
     <html> means we are telling our computer that we are talking to you in html.
    in html we always have to open and close these Markups so for closing we write </html>.

    Some Markups are:
     <head>----</head>
    <p>- - - - </p>etc.

    HTML program has two basic areas 
    1. head
    2. body 
    In head we can write only the title of our website. where body will have everything else.
    Now save this document with the name "page1.html" (or as you want ) as you know this is Notepad so it will consider your document as a as "text" document.

    First window open when you are going to save the document
    So you have to change the extension like give in the image.
      Now open your Document with "Internet Explorer" you will find the results like
    Open with Internet explorer 


    first time you open your website
    The website will open like this and it is empty because you don't have any thing in website yet. In the next post we will learn how to put contents to our website.

    Have questions !!!!
    leave your questions in the comment box. I will Answer as soon as possible.

    hope you enjoyed my first post

    Thank you & take car