Exp - 1 - HTML - Lab Manual
Exp - 1 - HTML - Lab Manual
Exp - 1 - HTML - Lab Manual
1.1 AIM: - To create a simple HTML web page with basic HTML Elements
1.2 Objectives: To understand concept of Design of simple static web page with HTML
1.3 Apparatus: Desktop or Laptop with any operating system like UNIX, LINUX and
Windows.
1.4 Software: Notepad or Notepad++ or Visual Studio Code and any web Browser like
Internet Explorer, Goggle Chrome, and Mozilla Firefox etc.
A.What is HTML?
A series of tags that are integrated into a text document.
A series of tags that are integrated into a text document.
These look like: <code>formatted text</code>
o <code> begins the formatting tag.
o </code> ends the formatting tag.
These tags are then read by a Browser, which translates the
tags into the formatting that they represent
HTML tags are not case sensitive; <b> means the same as <B>.
C.Structure Tags In
HTMLTag
<HTML></HTML>
These tags begin and end an HTML document.
HEAD Tag
<HEAD></HEAD>
These tags are in the beginning of the document. Important
information is stored in- between these tags including: title,
styles, and programming scripts
TITLE Tag
<TITLE></TITLE>
These tags are in-between the HEAD tags and
contain the text that appears in the title of the Web
page.
BODY Tag
<BODY></BODY>
As you may have guessed, the BODY tags contain all
the text in the body of the document.
HTML Paragraphs -
Web pages can be created and modified by using professional HTML editors.
However, for learning HTML we recommend a simple text editor like Notepad
(PC) or Text Edit (Mac).
Follow the steps below to create your first web page with Notepad or Text Edit.
Windows 8 or later:
Open the Start Screen (the window symbol at the bottom left on your screen).
Type Notepad.
Windows 7 or earlier:
Then under "Open and Save", check the box that says "Display HTML files as
HTML code instead of formatted text".
Then open a new document to place the code.
Save the file on your computer. Select File > Save as in the Notepad menu.
Open the saved HTML file in your favourite browser (double clicks on the file,
or right-click - and choose "Open with").
Step 1 out-put:
Step 2 code: HTML headings are defined with the <h1> to <h6> tags.
Step 2 out-put:
<p>This is a <br> paragraph with a line break.</p>
</body>
</html>
Step 3 out-put:
1.7 Result: Hence Simple web page created by using HTML code
1. What is internet?
2. What is www?
3. What are Web Site, Web Browser and Web Server?
4. www is based on which model?
5. What is meant by URL?
6. What is HTML?
7. What are Tags?
8. What are the basic elements of HTML?
9. How many types of heading does an HTML contain?
10. Do all HTML tags have an end tag?