HTML - Grouping <td>s
I'll pose the question thru the foll. example:-
Suppose u have the foll. HTML snippet : HTML Code: <td> <label>Name:</label></td> <td> <input type = "text" id = "txtName" value = ""></td> In the above HTML snippet, Name: and its textbox(txtName) form one logical group.Is there a way to group them into a single item? I tried putting them into <div > like this ,it does NOT work , nor does <span> HTML Code: <div id = "Name" style="display:none;"> <td> <label>Name:</label></td> <td> <input type = "text" id = "txtName" value = ""></td> </div> Is there any technique to do that? Similar TutorialsI have an image and some text which i would like to be grouped together as 1 object, is this possible and if so how? Also does anyone know of a html editor which allows you to edit the html in design view? Thankyou in advance for any help! |