Monday, January 16, 2012

Basic HTML Source Provided by Dreamweaver

Here is my screen-capture of a basic html source supplied by Dreamweaver to get me started.  I have had some html in the past, but not much so some of these tags look familiar to me, although I see a lot of stuff that doesn't look familiar (mainly the web stuff that apparently indicates where the standards or something are locate!


Definitions:
The <!DOCTYPE html PUBLIC ...> tag allows the browser to display the html page correctly.

The <html> opening tag indicates that the page is in html and all of the code needs to go between this tag and the closing html tag which looks like this: </html>

The <head> tag has information that the user will not see, but the browser uses to display the page correctly.  Within the head tag is the <meta> tag and the head tag is the <title> tag.

The <meta ... > tag contains information telling the browser that it will be receiving text as html and the characterset that will be utilized in the page.

The <title> tag displays the title of the page at the very top of the page either in the window heading or on the actual tab in the new browsers that allow the user to have many pages open at a time.  The title must between the two title tags the opening <title> tag and closing </title> tag.

The <body> tag indicates the start of what will be displayed to the user.  Everything that the user is to see must go between the opening <body> tag and the closing </body> tag.

No comments:

Post a Comment