Thursday, August 29, 2013

Use of HTML to design web sites


As a Markup Language, the purpose of HTML tags or codes are to provide a set of general rules that suggest how content should look when rendered

An HTML Document


Example 5.1 shows how HTML scripts are used for web pages and figure 5.3 shows first HTML script displayed on the internet browser, Firefox. It is displayed some of the important HTML tags for your attention.


Example 5.1

<HTML>
<TITLE>Example 5.01</TITLE>
<H1>What is HTML?</H1>
<P>The Hypertext Markup Language....</P>
<P>When HTML documents...</P>
</HTML>

This shows how example 5.01 is displayed in the web browser


In this example, <HTML>, <TITLE></TITLE>, <H1></H1>, <P></P> and </HTML> tags are used and Figure 5.3 shows how it is displayed in your computer monitor using Firefox browser.


<HTML>
Starts the HTML document.
<TITLE>
Text inside <TITLE> tag displays the title of your web on the browser Title Bar.
<H1>
This is used to display the main title of your web page.
<P>
Used to highlight the paragraph of your web page.






No comments:

Post a Comment