Page 2 of 7 FirstFirst 1234 ... LastLast
Results 11 to 20 of 63

Thread: HTML-Introduction -Part 1

  1. #11
    thanks Bhai...U continue hence...

    ill paste the diff soon..before......

  2. #12
    difference between htm and html is as foillows...


    What is the difference between the HTM and HTML extensions?
    Short Answer
    Other then the obvious, the letter "L," there's not much of a difference between the two extensions. Most, if not all, web browsers and servers will treat a file with an HTM extension exactly as it would a file with an HTML extension, and vice versa.

    Long Answer
    Practical Differences
    Practically speaking, there is no difference between the two extensions. Both denote that the file contains HTML. This is really a matter of convention and is not an absolute, but most realize that a file whose extension is htm or html contains HTML.

    On most, if not all, servers either file will be sent with a MIME type of text/html by default. This can usually be changed by the server's administrator(s), but is, more often then not, left alone.

    On most, if not all, browsers, either file will be displayed as intended (i.e. rendered according to the browser's default manner of displaying HTML documents). This last is due more to the MIME type sent by the server then by the file's extension, but that's a matter for another FAQ.

    Generally, the use of htm over html, or vice versa, is left to the author's personal preferences.

    Technical Differences
    Technically speaking there are few to no important differences. An obvious difference is the addition of the letter "L" in the html extension. The technical difference that the additional letter will make to the operating system is better left to a different discussion but in the context of a web author, the additional "L" will make no difference.

    The technical difference that the additional letter will make to an http server (a "web server") is minimal. Usually, a server will use a file's extension to figure out what MIME type to send back to the requesting client. Most servers are configured by default to send back the text/html type when the requested file ends in an htm or html extension. This can be changed by the server's administrator(s) in such a way that one of the above extensions returns a different MIME type then the other, however, this is not a very common practice.

    It is a common misconception that a file ending in an htm extension had to have been created on a DOS/Windows 3.x platform. This is because those operating environments limit filenames to a 3 letter extension. However, it is very simple to create a file with a 3 letter extension on most other platforms, as well. Even those that allow longer file extensions.

    Default Filenames
    The one situation in which there may be a difference between the two extensions is that of a server's default filenames. When a URL that does not specify a filename is requested from a server, such as http://www.domain.dom/dirname/, the server returns a file from the requested URL that matches a default filename. Examples of common default filenames include "index.html," "index.htm," "welcome.html," "welcome.htm," "default.html," "default.htm," etc. However, an administrator can make the server's default filename anything he/she so desires.

    In the case of a default file, the author's filename must be exactly the same as the server's default filename. In other words, if your server is configured to use "index.html" as the default filename, your file must be named "index.html" and not "index.htm."

    Note that servers are often configured with more then one default filename.

  3. #13
    I feel being educated, thanks for that bro :ye;
    Dream, I do.

  4. #14
    u r most welcome....now its ur turn to educate people arnd DT!!

  5. #15
    Thanks Endurer and yunus.
    now surely i will go step by step.

    The page structure of any web page starts wid <html> tag and ends in </html> tag telling the browser where the document
    starts and where it stops.

    The basic code is



  6. #16
    As an example we will start wid basefont which means giving attributes for text and we usually use it to specify the overall font of the entire page.

    Example:
    The designing of the webpage is made in notepad- which all the windows have-
    Goto start->program->Accessories->Notepad.
    then click it and the page will be opened write dis on dat page


    next time i will inform how to save the file u have just made.



  7. #17
    Dearest Rahen...

    U r teaching awesomne..Just one thing ..while u teach consider u rstudents to be brilliant.!!pasting thumbnails of Notepad and start button will really dissapoint the guys..So to what u can do to that!!!

    rahen dear,

    U wont be hearing any comments or get distrubed!!..TEACH IN PEACE!!

  8. #18
    Yunus give me ideas then wat to do?? to make ma student not disappoint.



  9. #19
    ill be posting the next tut in color screen...watch out...

  10. #20
    hers my last lesson

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •