Add DOCTYPE to Basic HTML Webpage to Change it to HTML 5 Page
Edited by Grimm, Rushell, Eng
You're watching VisiHow. In this tutorial, we are going to show you how to add the proper DOCTYPE to make your basic HTML document become an HTML 5 document.
- 13Now, click anywhere inside the "Notepad" window to make it the active window.We'll know it is active because the top will have changed color. This is important because sometimes we might have a preview page open while we're editing a website. We could hit ENTER at the wrong time, and the page will refresh or load something that we were not wanting. Therefore, it's usually good policy to make sure we're in the right window.
- 15Go up to that top line and type "<!DOCTYPE".This tells the browser immediately what kind of document this is. There are PHP documents, ASP documents, HTML 4 documents, and all kinds of different standards we could draw there. Most people have a misconception that it needs to be in capital letters; however, it does not. There are just different ways of coding, but it works the same way.
- 22This concludes our tutorial on how to create the proper doctype to transform a regular HTML document into an HTML 5 document.We've now just created an HTML 5 document. Thanks for watching VisiHow. Give us your questions or comments in the section below and let us know what else you need help with, and we'll help you out.Advertisement
Video: Add DOCTYPE to Basic HTML Webpage to Change it to HTML 5 Page
Referencing this Article
If you need to reference this article in your work, you can copy-paste the following depending on your required format:
APA (American Psychological Association)
Add DOCTYPE to Basic HTML Webpage to Change it to HTML 5 Page. (2016). In VisiHow. Retrieved Mar 25, 2017, from http://visihow.com/Add_DOCTYPE_to_Basic_HTML_Webpage_to_Change_it_to_HTML_5_Page
MLA (Modern Language Association) "Add DOCTYPE to Basic HTML Webpage to Change it to HTML 5 Page." VisiHow, visihow.com/Add_DOCTYPE_to_Basic_HTML_Webpage_to_Change_it_to_HTML_5_Page Accessed 25 Mar 2017.
Chicago / Turabian VisiHow.com. "Add DOCTYPE to Basic HTML Webpage to Change it to HTML 5 Page." Accessed Mar 25, 2017. http://visihow.com/Add_DOCTYPE_to_Basic_HTML_Webpage_to_Change_it_to_HTML_5_Page.
Categories : Software
Recent edits by: Rushell, Grimm