[an error occurred while processing this directive]
|
![]() |
123 Web Design! Basic HTML HTML is a markup language used by all web browsers in determining how to display a web page. It consists of simple text (content), plus tags. Tags represents the essence of HTML; whenever you want to make your text bold, insert an image or table, add music to your page, you use tags. Tags are special codes that wrap around various content to affect the content. Lets see an example of a tag: <b> The above is the bold tag, and when wrapped around text, makes the text appear bold! <b>This text is bold!</b> Notice that there is a </b> tag attached at the end of the content. This is the bold tag's closing tag, and it tells the browser- "Hay, I want bold text only up to that point!" Most tags have a complimentary closing tag, as you will see as we trottle along. HTML is essentially a bunch of tags with even more text. Once you learn the syntax of these tags, you can call yourself a HTML expert! -Creating your first web page Now that you have a vague idea of what tags are, you're ready to learn about the basic tags that make up a basic web page. Are you ready to create your very first web page? The below lists the complete syntax used in creating a very basic web page, with only the text "Welcome to my first homepage" on it: <html> Go ahead. Open up your text editor, type the above, and see what it looks like in your browser. You'll see a blank page with the title "Welcome!" on the title bar, and the simple line of text "Welcome to my first homepage" sitting in the main browser area. The parts in bold are the tags used in this page. Notice their structure and position in the document. Lets now describe their role in a document:
99% of web documents on the web, small or large, simple or complicated, all contain at least the above tags. They make up the framework of any document. Take another look at the definition of the <body> tag- most of the action in html will take place inside it, since the <body> tag contains all of the document's viewable content. |