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.
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">
The target="_blank"
attribute lets you open a link in a new browser tab.
<a href="https://example.com" target="_blank">Visit</a>
Use the <br>
tag to create a line break inside your content.
Hello!<br>How are you?
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 let users select one or more options. Example:
<input type="checkbox" name="subscribe" checked> Subscribe