How to create tables in HTML? ,Java, C ,C++, ASP, ASP.net C# ,Struts ,Questions & Answer, Struts2, Ajax, Hibernate, Swing ,JSP , Servlet, J2EE ,Core Java ,Stping, VC++, HTML, DHTML, JAVASCRIPT, VB ,CSS, interview ,questions, and answers, for,experienced, and fresher
How to create tables in HTML?

We use <table> tag to create the table in HTML. After creating an table we use <tr> tag to create the rows.And use <td> to create data cell on each row.These cell can store images,text,tables,list etc.
 
Basic syntax to create an Table are given below:


<table border=\"1\">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
<td>row 1, cell 3</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
<td>row 2, cell 3</td>
</tr>
</table>

More interview questions and answers
What is transaction ?
What is transaction isolation level ?
What is transaction manager ?
What is transient ?
What is try ?
What is type ?
What is Unicode ?
What is URI ?
What is URL ?
What is URN ?
What is variable ?
What is virtual machine ?
What is void ?
What is volatile ?
What is Web server ?
What is while ?
What is world readable files ?
What is wrapper ?
What is ACID ?
What is Embedded Java Technology ?
What is class method ?
What is class variable ?
What is constructor ?
What is this?
What is the nested element in HTML?
What is Empty HTML element?
HTML is case sensitive or not?
What is URL path ?
What is user data constraint ?
What is user (security) ?
What is validating parser ?
What is value-binding expression ?
What is virtual host ?
What is W3C ?
What is WAR file ?
How you define Attributes in HTML?
What is Web application ?
What is Web component ?
What is Web module ?
What is Web resource ?
Attibutes names and their values are case-sensitive or not?
How you define HTML Attribute Reference?
How you define HTML Style Attribute in HTML?
What are the Deprecated Tags and Attributes?
How you define HTML link?
What are the Hyperlink,Anchors and Link in the HTML?
How you define href,target and name Attributes?
How to link the Images with in HTML?
How we define Src Attribute and Alt Attribute in HTML?
How to create tables in HTML?
How to create headings and empty cells in table?
Write some useful table tags that we use in HTML?
How you define list in HTML?
What\'s Java Swing?
What is JFC?
What is AWT?
What are the differences between Swing and AWT?
What are heavy weight components ?
How you understand about Forms output?
What is lightweight component?
What is double buffering ?
What is an event in Swing?
What is an event handler in swing?
What is a layout manager?
How you use Text Field,Radio Button and Checkbox in Form?
What is clipping?
Which containers use a border Layout as their default layout in swing?
What is the preferred size of a component?
What method is used to specify a container\'s layout?
Which containers use a FlowLayout as their default layout?
How you use Form\'s Action Attribute and Submit Button in HTML?
How you define HTML Frames?
Which method of the Component class is used to set the position and size of a component?
How you use scipts on HTML?
What is the What is the difference between invokeAndWait() and invokeLater()? ?
Why should any swing call back implementation execute quickly?
What is an applet?
What is the difference between applications and applets?
How to blink text in IE6?
How to differ width=\'200\' and width=\'200%?
Which method is used by the applet to recognize the height and width?
When we should go for codebase in applet?
What is the lifecycle of an applet?
Which method is used for setting security in applets?
What is an event and what are the models available for event handling?
What is Semantic in HTML?
How you display an picture in background of HTML?
What are the advantages of the event-delegation model over the event-inheritance model?
How you define body in HTML?
How you define SPAN in HTML?
How you define HEAD in HTML?
How you define index document?
How Cell Padding is differ from Cell Spacing?
What do you understand about DOCTYPE in HTML?
Can a class be it\'s own event handler? Explain how to implement this?
How you define CSS?
Why does JComponent have add() and remove() methods but Component does not?
How would you create a button with rounded edges?
What is the difference between the Font and FontMetrics class?
What class is at the top of the AWT event hierarchy?