If you belive yourself, anything is possible.
--Your friends at LectureNotes

Note for Web Technologies - WT By New Swaroop

  • Web Technologies - WT
  • Note
  • University of mysore - Gangotri
  • Computer Science Engineering
  • Uploaded 4 months ago
New Swaroop
New Swaroop
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-2

72 :: Certificate in Web Designing l create, save and view a HTML document l format a web page using section heading tags l describe Ordered and Unordered lists l explain graphics in HTML document l describe hypertext links and making text/image links 4.3 CREATING, SAVING AND VIEWING A HTML DOCUMENT 4.3.1 Creating a HTML document The essential tags that are required to create a HTML document are: l l <HTML>.............</HTML> l <HEAD>.............</HEAD> l <BODY>.............</BODY> Starting Tag HTML Tag <HTML> The <HTML> tag encloses all other HTML tags and associated text within your document. It is an optional tag. You can create an HTML document that omits these tags, and your browser can still read it and display it. But it is always a good form to include the start and stop tags. The format is: <HTML> Your Title and Document (contains text with HTML tags) goes here </HTML> Most HTML tags have two parts, an opening tag and closing tag. The closing tag is the same as the opening tag, except for the slash

Text from page-3

Introduction to HTML:: 73 mark e.g </HTML>. The slash mark is always used in closing tags. An HTML document has two distinct parts HEAD and BODY. The Format is: <HTML> <HEAD> ............. ............. ............. </HEAD> <BODY> ............. ............. ............. Closing Opening </BODY> Tag Tag </HTML> l HEAD Tag <HEAD> HEAD tag comes after the HTML start tag. It contains TITLE tag to give the document a title that displays on the browsers title bar at the top. The Format is: <HEAD> <TITLE> Your title goes here </TITLE> </HEAD>

Text from page-4

74 :: Certificate in Web Designing l BODY Tag <BODY> The BODY tag contains all the text and graphics of the document with all the HTML tags that are used for control and formatting of the page. The Format is: <BODY> Your Document goes here </BODY> An HTML document, web page can be created using a text editor, Notepad or WordPad. All the HTML documents should have the extension .htm or .html. It require a web browser like Internet Explorer or Netscape Navigator/Communicator to view the document. Example: It is my first web page Follow the steps to create and view in browser: Step-1: Open text editor Notepad (click on Start→ All Programs→ Accessories→Notepad) Step-2: Enter the following lines of code: <HTML> <HEAD> <TITLE> My first Page </TITLE> </HEAD> <BODY> WELCOME TO MY FIRST WEB PAGE </BODY> </HTML>

Text from page-5

Introduction to HTML:: 75 Step-3: Save the file as myfirstpage.html (go to File-Save Asgive File name: myfirstpage.html-choose save as type: All Files-click save) Step-4: Viewing document in web browser (open Internet Explorer-click on File-Open-Browse-select the file myfirstpage.html-click open-click ok) Fig. 4.1 : Creating and Saving the HTML document using Notepad

Lecture Notes