How are you doing?
am having a little difficulty writing my first HTML website! am stuck on a little few details that I would really appreciate it if you guys help me a little bit with, again this is my first time I write HTML so I apologize is my mistakes and questions are kinda trivial.
here are my questions:
am trying to make a green background at the top of the page, but I cant figure out how, I tired using bgcolor to color the row where the table sits on but that doesnt seem to work.
Here is what I tired to do:
<tr bgcolor = "green">
<table width = "50%">
<tr>
<td><a href = "http://www.google.com"> Home </a></td>
<td><a href = "http://www.google.com> About Us </a></td>
<td><a href = "http://www.google.com> Products </a></td>
<td><a href = "http://www.google.com> Services </a></td>
<td><a href = "http://www.google.com> Contact Us </a></td>
</tr>
</table>
</tr>
another problem when trying to write something next to the input fields (the username password input fields); when trying to write “Office all is an internet store that…”, instead of appearing right next to the input fields they appear under them!
here is what I did
<tr>
<td>
<form action = "processor.class" method = "get">
User Name:
<p/>
<input type = "text" name = "txtName" size = "10" />
<p/>
Password:
<p/>
<input type = "password" name = "txtPassword" size = "10" />
<p/>
<input type = "submit" value = "Login"/> <a href = "http://www.jce.ac.il"> Register account</a>
</form>
</td>
<td>
office all is an internet...
</td>
</tr>
Can you help me out please?
thanks =)
EDIT: thank you guys for your help, as u all suggested I will try to read a CSS tutorial and stop using tables, I will close this thread now and open it when and if I have more questions to ask (after i learn a lil more about CSS)
Wherever you are learning web development from, dump that book/tutorial/whatever and pick up something a little more recent. Using tables to lay out pages is a very poor way of doing things. If you are just learning web development, you should be learning how to lay out pages with CSS, not tables.