Adding Tables

Dear Sciaku Learner you are not logged in or not enrolled in this course.

Please Click on login or enroll now button.

If you have any query feel free to chat us!

Happy Coding! Happy Learning!

Lecture 24:- Adding Tables

Tables in HTML are created using the <table> element and its associated tags. The basic structure of an HTML table is as follows:

cssCopy code

<table>  <tr>    <th>Header 1</th>    <th>Header 2</th>  </tr>  <tr>    <td>Row 1, Column 1</td>    <td>Row 1, Column 2</td>  </tr>  <tr>    <td>Row 2, Column 1</td>    <td>Row 2, Column 2</td>  </tr> </table>

Here's what the different parts of the code mean:

  • <table>: Defines the start of a table.
  • <tr>: Defines a table row.
  • <th>: Defines a header cell in a table. The text inside a <th> element is usually bold and centered.
  • <td>: Defines a normal cell in a table.

You can further customize the appearance of your table using CSS.

3. More On Html

2 Comments

@niteshguptav63
niteshguptav63 Nov 17, 2024 at 1:39 PM

I am not able to access videos from second class and further. I have already completed first class

@niteshguptav63
niteshguptav63 Nov 16, 2024 at 10:56 AM

When will I get my course?

@admin79
admin79 Nov 17, 2024 at 1:29 PM

Now, Your query was resolved.

Frequently Asked Questions About Sciaku Courses & Services

Quick answers to common questions about our courses, quizzes, and learning platform

Didn't find what you're looking for?

help_center Contact Support