HTML - <br> Or Seperate <p></p>?
Which of these two codes are more acceptable and why?
Code: <p class="margin" align="justify"> <font size="4"> Believe it or not, yes - people do still get their electronics repaired! Whether it is a brand-new, just-out-of-warranty LCD or plasma television or a ten-year-old, "old-fashioned" CRT set - we work on them every day. This includes DLP and rear projection sets as well. We also do repairs on your impossible to replace VCRs, desktop and laptop computers and even the occasional blender! <br> <br> We usually have several televisions that were either donated or left on our doorstep. These TVs are repaired and then placed up for sale to good homes. Right now, we have a special - <font color="#A52A2A">20% off the purchase of any TV.</font><br> <br> And remember: With over 15 years experience in electronic repair, there's a good chance <b><i>"If We Can't Fix It, You Don't Need It!"</i></b><br> </font> </p> or Code: <p class="margin" align="justify"> <font size="4"> Believe it or not, yes - people do still get their electronics repaired! Whether it is a brand-new, just-out-of-warranty LCD or plasma television or a ten-year-old, "old-fashioned" CRT set - we work on them every day. This includes DLP and rear projection sets as well. We also do repairs on your impossible to replace VCRs, desktop and laptop computers and even the occasional blender! </font> </p> <p class="margin" align="justify"> <font size="4"> We usually have several televisions that were either donated or left on our doorstep. These TVs are repaired and then placed up for sale to good homes. Right now, we have a special - <font color="#A52A2A">20% off the purchase of any TV.</font> </font> </p> <p class="margin" align="justify"> <font size="4"> And remember: With over 15 years experience in electronic repair, there's a good chance <b><i>"If We Can't Fix It, You Don't Need It!"</i></b> </font> </p> Personally, I usually use the first code, unless I have special circumstances that break the paragraph formatting anyway. I am just curious about what is more acceptable in HTML-world. Thanks... Similar TutorialsLadies and gents, I have a checkbox list, simple like this: <input type=\"checkbox\" name=\"ck[]\" value=\"1\" /> <input type=\"checkbox\" name=\"ck[]\" value=\"2\" /> <input type=\"checkbox\" name=\"ck[]\" value=\"3\" /> Now, I know how to process this information using the "SUBMIT" button. The problem is, the submit button is located far away from the checkbox. It's in a different divider and everything. I'd like to do this, on a seperate part of the page... <a href = process_checkbox.php>Click Here</a> Keep in mind it's in a seperate div. Is this possible? Thanks! Need to call a few div tags into 15 odd webpages but i wanted to store the divs in another file so i can edit all of them at once here is the div tags i need to import to the body of all my pages <div id="sidemenu"> <div class="menustyle" onclick="ChangeMenu('subm1')">Home</div> <span class="subm" id="subm1"> - <a href="index.html"><strong>Welcome</strong></a><br /> - <a href="about.html">About Us</a><br /> - <a href="contact us.html">Contact Us</a><br /> </span> <div class="menustyle" onclick="ChangeMenu('subm2')">Home</div> <span class="subm" id="subm2"> - <a href="breakfast.html">Breakfast Menu</a><br /> - <a href="Cafemenumain.html">Lunch Menu </a><br /> - <a href="drinks.html">Drinks Menu </a><br /> - <a href="dessert.html">Dessert Menu </a><br /> - <a href="contact us.html">Keep in Touch</a><br /> </span> </div> It is longer than that as i have six menus but thats not important. so can someone tell me how to call this div into the body of a html page? Ok cheers e Ok, so basically, I have a website with a lot of pages. I have made a top menu bar, which goes on every page, and a copywrite notice for the bottom. I was wondering if its possible to maybe put those in some kind of external file, which will make them appear on every page, like a CSS file, so I don't have to paste that onto every page. The reason I asked, is because sometimes the menu is gonna change and I don't want to have to edit EVERY page of my site just for that. And if it does work, could someone tell me how to do it? I tried <header> </header> and <footer></footer> in a CSS but they didn't appear on my page, and yes, the page calls the CSS file correctly, because the styles still load up. Any help would be GREATLY appreciated!!! |