Professional Documents
Culture Documents
Apollo Institute of Engineering and Technology: Branch: CE Diploma Semester 2 Subject: Static Web Page Design (4311603)
Apollo Institute of Engineering and Technology: Branch: CE Diploma Semester 2 Subject: Static Web Page Design (4311603)
Apollo Institute of Engineering and Technology: Branch: CE Diploma Semester 2 Subject: Static Web Page Design (4311603)
Practical - 1
HTML:
HyperText - A text which is connected via a link which redirects users to that text related
document, page or piece of information.
HyperLink - A link to which “Hypertext” is connected, means when we click on the Hypertext
and it goes on a specific url that is called Hyperlink.
Markup Language - It is a text formatting language designed to transform raw text into
structured documents.
Tag - Used to specify regions of HTML documents for the web browser to interpret. Tags look
like this: <tag>.
Element - A complete tag, having an opening <tag> and closing </tag>.
Attribute - Used to modify the value of the HTML element. Elements will often have multiple
attributes.
<html>
<head>
</head>
<body>
This is a Body.
</body>
</html>
HTML Editors:
1. Open Notepad.
2. Write some HTML.
3. Save the HTML page.
Name the file “index.html” or any other name ending with html or htm.
<head> - The <head> element is a container for metadata (data about data) and is placed between
the <html> tag and the <body> tag.
<title> - Placed within the <head> tag and defines the title of the document.
<html>
<head>
<title>HTML Tags</title>
</head>
<body bgcolor="#fed8b1">
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<p>A text which is connected via a link which redirects users to that text related document, page
or piece of information is known as HyperText.
</p>
<hr>
<nobr>Creates a text
</body>
</html>
Output:
Practical - 2
The <a> tag defines a hyperlink, which is used to link from one page to another.
The most important attribute of the <a> element is the href attribute, which indicates the link's
destination.
An anchor can point to any resource on the Web: an HTML page, an image, a sound file, a
movie, etc.
_self - Opens the linked document in the same frame as it was clicked (this is default)
_top - Opens the linked document in the full body of the window
The name attribute is used to create a named anchor. The name of the anchor can be any text.
Program:
<html>
<head>
</head>
<body>
</body>
</html>
Output :
Practical - 3
Aim: Use Image Tags to Create Webpage.
HTML img tag is used to display images on the web page. It is typically used for inline images.
Program:
<html>
<head>
</head>
<body>
</body>
</html>
Output: