HTML Introduction to HTML and CSS Getting Familiar with HTML and CSS Review: Getting Familiar with HTML and CSS

Please close correctly the following html

<hl> welcome to my webpage

2 Answers

Linas Mackonis
Linas Mackonis
6,721 Points

If you want to close your HTML tag, you use the same syntax as an opening tag plus forward slash "/"

<h1>My headline</h1>
<p>My paragraph</p>
Linas Mackonis
Linas Mackonis
6,721 Points

However, there are some exceptions that do not require closing tags:

<img src="directory_path/img.jpg" alt="Picture description">
<input type="text" name="First Name" placeholder="First Name">

Hope that helps