Introduction to HTML

HTML (HyperText Markup Language) is the standard language used to create web pages. It structures content using elements and tags. Below are essential HTML concepts every beginner should learn.

🔗 Linking External CSS Files

Use the <link> tag to connect a CSS file to your HTML. This tag is placed in the <head> section.

<link rel="stylesheet" href="styles.css">

đŸĒŸ Opening Links in a New Tab

The target="_blank" attribute lets you open a link in a new browser tab.

<a href="https://example.com" target="_blank">Visit</a>

â†Šī¸ Line Breaks

Use the <br> tag to create a line break inside your content.

Hello!<br>How are you?

📊 Table Rows

Tables use <tr> to define rows, and <td> or <th> to define cells.

<table>
  <tr>
    <td>Row 1, Cell 1</td>
    <td>Row 1, Cell 2</td>
  </tr>
</table>

â˜‘ī¸ Checkboxes

Checkboxes let users select one or more options. Example:

<input type="checkbox" name="subscribe" checked> Subscribe