Sure, I remember doing this before discovering proper code editors. (Though I can't remember offhand the proper DOCTYPE declaration...)
Nowadays though I can't imagine writing raw HTML without Emmet. With Emmet your challenge would be complete in 3 keystrokes 😀
The discovery of a proper code editor with syntax highlighting was also a game changer for me back then. Such simple joys!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.