|
HTML Home
Create a Website HTML TutorialHTML Tutorial HomeAbout HTML Getting Started HTML Elements HTML Formatting HTML Attributes HTML Colors HTML Links HTML Images HTML Meta Tags HTML Comments HTML Forms HTML Tables HTML Image Maps HTML Frames HTML Entities HTML Layouts HTML Styles HTML Scripts HTML Website Templates Website Hosting Summary HTML Code GeneratorsHTML Code GeneratorHTML Table Generator Marquee Generator Music Code Generator HTML Text Generator Text Box Generator Free HTML CodesHTML Background CodeHTML Comment Box Codes HTML Scroll Box Codes HTML Font Codes HTML Picture Codes HTML Marquee Code HTML Music Codes HTML Templates More Codes... HTML ReferenceHTML ExamplesComplete HTML Tag List HTML Special Characters Hex Color Codes HTML Help FREE Hosting!With every domain name you register with ZappyHost, you get FREE hosting.PLUS you get:
|
HTML ElementsHTML elements are the fundamentals of HTML. HTML documents are simply a text file made up of HTML elements. These elements are defined using HTML tags. HTML tags tell your browser which elements to present and how to present them. Where the element appears is determined by the order in which the tags appear. HTML consists of almost 100 tags. Don't let that put you off though - you will probably find that most of the time, you only use a handful of tags on your web pages. Having said that, I highly recommend learning all HTML tags eventually - but we'll get to that later. OK, lets look more closely at the example that we created in the previous lesson.
Explanation of the above code:
Closing your tagsAs mentioned in a previous lesson, you'll notice that all of these tags have opening and closing tags, and that the content of the tag is placed in between them. There are a few exceptions to this rule. You'll also notice that the closing tag is slightly different to the opening tag - the closing tag contains a forward slash ( UPPERCASE or lowercase?Although most browsers will display your page regardless of the case you use, you should always code in lowercase. This helps keep your code XML compliant (but that's another topic).
In the next lesson, we learn about some of the more common formatting tags. Enjoy this website?
Oh, and thank you for supporting Quackit! |
Need Content for your Website?Get unique, quality digital content for your website. You can even earn money by reselling it!Includes:
|