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

Miriam Allman
Miriam Allman
Pro Student 1,761 Points

Please close the following HTML tag: <h1>Welcome to my webpage

i dont understand how to close the tag

2 Answers

10,980 Points

It just means you add a </H1>

So HTML tags should always come in pairs, open and close. ie. <table></table>, <html></html>, <body></body>

Patrick Bamford
Patrick Bamford
1,172 Points

Your HTML line of code should look like; <h1> Whatever You'd like your first title heading to be for the page here </h1>

The opening tag will be <h1>, this opening tag needs to be "closed" with its closing tag which is, </h1>. What ever you type between those two tags will be your 1st level heading for that page. Almost all HTML tags need to be closed with the appropriate closing tag. There are a few exceptions though such as an img which is self-closing <img src="file.img " alt=" "> this is a self-closing tag. Hope this helps.

Closed: <h1></h1>  

Self-closing: <img src="" alt="">   
<br />