Lesson 1.2
HTML Development
HTML Development
The HTML document is displayed in a browser. What is a browser is an application that is installed on the client machine. The browser read the HTML source code and displays the page as instructed.
A browser is used to view Web pages and navigate through it. The earliest known browser was Mosaic developed by the National Center for Supercomputing Application (NCSA). Today, there are many browsers available for browsing the Internet. Netscape’s Navigator and Microsoft’s Internet Explorer are the two popular browsers in use. For the user, a browser is easy to use because it provides a point-and –click graphical interface.
To create the source document, an HTML editor is required. There are several editors in use today: Microsoft FrontPage is a comprehensive tool that can be used to create, design, and edit Web pages. We can also add text, images, tables and other HTML elements to the page. In addition, a form can be created through FrontPage. Once we create the interface, the FrontPages Editor creates the required HTML code. We can also use Notepad to create the HTML document. In order to view the document in a browser you have to save the document with a.html/.html extension. To save your HTML web page, this is how to save it.
Example: the name of your web page can be any name like moon, hood, book and etc…
How to save your html web page is this moon.html, hood.html so this is how to save html webpage before you can view it on the browser.
HTML commands are called Tags. Tags are used to control the content and appearance of the HTML document. The “opening tag” is a “<>” pair of brackets. This indicates the beginning of the HTML commend. The “closing tag” is represented as “</>” to indicate the end of the HTML commend.
For example, the HTML tag is used to mark the beginning and of an HTML document.
<HTML>
. . . . .
</HTML>
Note that the tags are not case sensitive, so you use <html>instead of <HTML>
The HTML tag is comprised of:
<ELEMENT ATTRIBUTE = Value>
Element – This identifies the tag
Attribute – This describes the tag
Value – This is the content that is assigned to the attribute
For example, <BODY BGCOLOR = lavender>
In the above example, BODY is the element, BGCOLOR (background) is the attribute and lavender is the value. When the HTML syntax is executed, the background color for the entire page will be set to lavender.
Comments
Post a Comment