1. Add a title to the html file. Generally, html files contain a title (Note: this is not the same as a "header." Headers will be introduced in step 3 below). Titles define the text to be displayed in the "title bar" of the browser when you bring up a given page. Titles are put in the "head" section (That is, between the < head > and < /head > tags). As an example, our simple file could contain following title: < title >This is the title< /title>
2. Add content to the page. In step 1, we defined the text to be displayed in the title bar of the browser window. However, to display text inside the browser window itself, we need to put that text into the body section of the file (That is, between the < body > and
No comments:
Post a Comment