HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 21. WORKING OFFLINE 227


21.9 Start and End Tags


The h1, b, and i tags have separate start and end tags.


The img markup does not have a separateend tag. It has only one tag.
Tags like this are calledvoid tags.


When there is no end tag, we may choose to indicate our awareness of that
fact by ending with a/right before the closing bracket, like this:


<tag .... />


The two times this most often comes up are<img ... />and
.


21.10 Congratulations


Congratulations. With any luck, you have just created a webpage. Maybe
it is your first webpage ever. Congratulations.


And we are just getting started!

Free download pdf