How do you create table with 2 rows and 3 cells?
Experience Level: Junior
Tags: HTML
Answer
For creating rows and cells you can use tag <table>.
Example
<html>
<head>
...
</head>
<body>
<table>
<tr>
<th>first name</th>
<th>last name</th>
</tr>
<tr>
<td>Jim</td>
<td>Smith</td>
</tr>
</table>
</body>
</html>
Related HTML job interview questions
How does HTML/CSS work with DOM?
HTML JuniorWhat is DOM?
HTML JuniorWhat is <i> tag?
HTML JuniorWhat is <strong> tag?
HTML JuniorCan you give 10 examples of the most used attributes?
HTML Junior