|
| www.kdwebpagedesign.com |
|
BASIC HTML ::
Welcome
Introduction to HTML What is an URL? Browser Safe Fonts Photo Size and Compression Formatting Your Text Paragraphs, Linebreaks, Rules The Marquee Tag Adding Images Adding Text and Image Links Making Lists Tables: Basics Tables: Backgrounds and Color Tables: Colspan and Rowspan Tables: Practical Samples BASIC CSS ::
Introduction to CSS
Adding Backgrounds and Color The <div> and <span> Tags Formatting Your Text/CSS Making Lists/CSS Image Borders/CSS Hyperlinks/CSS Tables/CSS Fun with CSS USER Tools ::
Custom Auction Listing Creator: 1
Custom Auction Listing Creator: 2 Choosing Your Colors Mix-and-Match Backgrounds JavaScript Tricks ::
Other Information ::
eBay Related Questions
Customizing Your eBay Store Hosting Your Own Photos on eBay Using Irfanview to Crop Photos What Does That Term Mean? Donations ::
Do you find our Tutorials helpful? Are the free Auction Templates helping your sales? Donations of any amount are appreciated to help keep this site up and running!
|
![]() |
Paragraphs, Linebreaks and Horizontal RulesThe <p> tag is used to indicate paragraphs. You should not use empty paragraphs <p></p> to insert blank lines. Instead, use the <br> tag. You can also use the <hr> to visually separate sections on your Web page. The <p> Tag and its AttributesParagraphs begin with <p> and end with the </p> tag. Although traditionaly it is not necessary to close the tag, the next version of HTML will not allow you to skip ANY closing tags. And if you do not close the tags, the formatting throughout the rest of page may not work as you would like. By adding the align="x" attribute you specify the paragraph alignment. The values include "right" and "center" with the default being "left". <p align="left">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> Linebreaks <br>Using empty paragraphs <p></p> to insert blank lines is a bad coding. Use the <br> tag instead. The <br> tag is a stand alone tag used when you want to end a line, but don't want to start a new paragraph. The <br> tag forces a line break wherever you place it. Using two line breaks gives you the same paragraph spacing as starting a new paragraph. Attributes include clear="x" with the values being "left", "all", "right" and "none". The code in the example below will give you the same visual effect as the code in the example above. It is better to use double linebreaks than starting a new paragraph if all the attributes are the same in both paragraphs. <p align="left">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Horizontal Rules <hr>The <hr> tag is a stand alone tag (it does not require a closing tag) that you can use to visualy separate sections of text on your page. You can use certain attributes to modify the appearance of the horizontal rule. The attributes include width="x" (x being the value in either fixed width or percentage), size="x", align="x" (left, right or center) and noshade. Below is the code for these four horizontal rules: <hr> |