To start your page, you need to add the top-level elements, inside of which all other elements in your page will be nested.
The HTML element defines the topmost element—the HTML document itself—thus identifying it as an HTML document rather than some other kind of document. The HTML element is a container element that has a start and end tag. Type the following codes in your text file to add the HTML Element:
When creating an HTML file, the <html> start tag must remain at the top of your page, whereas the </html> end tag must remain at the bottom of the page, with all other elements that compose the document nested inside them.
An HTML document has two parts: a head and a body. The HEAD element is used to include elements that provide information about the document or perform operations upon it. The BODY element contains all of the elements that form the displayable body of the document. Add HEAD and BODY elements to your HTML document:
<html> <head> </head> <body> </body> </html>
Every HTML document should have a title. The TITLE element is the only element that is required within the HEAD element.
Miranda Bloom is creating a personal Web page (a page about herself). She has decided to title her page as "Miranda's World."
Add a title to your HTML document:
A Web page's title is displayed on a browser's title bar, at the top of the browser window, but is not displayed as part of the page. Figure 2.1 shows the document title displayed on a browser's title page.