Natwerk Designs

Whats wrong with my HTML code? Very frustrating!?

Hi there, I am taking this online class and the teacher is not helpful and met taking this class online was just a huge mistake. Please look at the below code and let me know whats wrong with it. Its all messed up! More so the second table data tab. <title>dHome Intro</title> </head> <body> <p><span style="font-weight: bold; color: rgb(182,29,23)">dHome Inc.</span> is the leading manufacturer of dome structures in the world. Our domes are built to exacting standards using the highest quality materials. We've been building domes for over 35 years and have a proven track record of providing quality homes at reasonable prices.</p> <table border="0" cellspacing="0" cellpadding="0" width="224" height="348"; float: right"> <tr> <td width="20"><img src="back3.jpg" &nbsp</td> <td width="200"> <p><img src="back4.jpg" font-size: 12; font-family: sans-serif; color: white">Why build a dome house? Domes are stronger and safer than conventional homes, and their design provides more stability against hurricanes, tornados, and earthquakes.<br /><br /> Dome houses are also more energy efficient. A dome home has approximately 30 to 50% less roof and wall area exposed to the elements than conventional homes, resulting in reduced energy costs.<br /><br /> The spherical space also provides for a natural air flow, minimizing cold spots and increasing interior comfort.</p> </td> <td width="30"><img src="back5.jpg" &nbsp</td> </tr> <p>A dome house provides you with a totally new living experience in a spacious and open environment. Imagine a curved ceiling more than 20 feet high with skylights bringing the beauty of the outdoors into your home.</p> <p>We provide plans for eight different domes, ranging from a 36' model providing 1000 square feet of living space, to a 48' diameter model covering over 1800 square feet and containing a loft capable of supporting a master bedroom. Each plan includes options for customized triangular windows using annodized aluminum frames with thermal break rubber seals, and argon filled insulated glass. Custom plans are also available upon request.</p> </body> </html> Thanks so much! <html> <head> this is at the top of my assignment...i just forgot to paste it.

Public Comments

  1. well here are some things i can see right off the bat. you need to add <html> <head> to the beginning of the document.' <p><img src="back4.jpg" font-size: 12; font-family: sans-serif; color: white">Why build a That should fix most of it up. Good luck! :) There should be double quotes around white.
  2. <td width="20"><img src="back3.jpg" &nbsp</td> u not closed the img src tag both times in code
  3. well i can see that you didn't add a style attribute to the <img src="back4.jpg" font-size: 12; font-family: sans-serif; color: white">Why build a you have to add a style= before font-size and like the previous, add <html>, <head>, and add another quote around white
  4. DEAR, THIS HTML CODE WORKS FINE IF THE HTML TAGS ARE COMPLETED PROPERLY. BY THE BY , YOU HAVE NOT SPECIFIED THE KIND OF PROBLEM. PLEASE BE SPECIFIC AND I WILL SURELY END YOUR PROBLEM GOODLUCK!!
  5. Your table width <table ... width="224" ...> is too narrow. Your columns <td> has 30 + 200 + 30 = 260 width. This should be match with table width. And in <table ..... float: right"> is not right. It should be <table .... style="float:right;"> and 2nd column <td width="200"> It's too narrow for text area. Change it to something like 500px or wider. Of course, don't forget to change table width accordingly. And you forgot to end </table> Sometimes in borderless(border="0") table, it's really hard to see a whole picture. If something is not right and you are not sure, set table border="1", Then you can see the boundary of table and cells.
  6. My advice to you is learn html code from W3School!! it is a free website of web tutorial... i have look into the code but i didn't know what kind of layout are you trying to design... This website provide you not only with html codes but also code like javascript... hoe you can learn more from this site...
Powered by Yahoo! Answers