

| HOME BASIC TUTORIAL What is Html? Sample Web Page Basic Tags Character Entities Html Links Frames Tables Lists Forms Images Backgrounds APPENDIX Html Tag List | Basic Tags There are a few basic tags that are used frequently by html designers. They include headings, paragraphs, and line breaks. HEADINGS Headings are used to create large text for titles and headings (of course). There are six sizes of headings ranging from 1 to 6. 1 is the largest, and they get progressively smaller as the numbers increase, six being the smallest. The tags for headings are <h1>, <h2>, <h3>, etc., down to <h6>. A blank line is automatically added before and after a heading.
Click here to see this example. PARAGRAPHS The <p> tag is used to create a paragraph. Paragraphs automatically have an extra line before and after them.
Click here to see this example. LINE BREAKS <br> is the tag used to create a line break. It is useful for when you want to end a line and make a new one, with out starting a new paragraph. It has no closing tag (</ >).
Click here to see this example. COMMENTS The comment tag is used to insert a comment into the html source code. It is ignored by the browser. You can use the tag to make a note in your code for when you come back at a later date.
Note that you only need the exclamation mark after the start of the tag, and not before the end. To learn how to create < and >, click on next. |
Much of what I learned to create this tutorial I found on www.w3schools.com.
Back to Top
Lewisville Middle School-2003