IP Home Assignment 1
IP Home Assignment 1
INTERNET PROGRAMMING
Home Assignment : 1
Aim: Create an HTML page which include CSS forms, tables, styles and all Html tags.
THEORY
HTML
HTML is the standard markup language for creating Web pages. It describes the structure of a
Web page.
HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a
link", etc.
<html>
<head>
<title>Page title</title>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Delisha Naik TE CMPN B Roll No: 22
HTML TAGS
Form tag
<form action="#" method="post">: Form element for user input, submitted to a server.
action="#": URL to send the form data to (here, it's # meaning the same page).
method="post": HTTP method to use when sending form data.
Form Elements
<option> : Defines an option that can be selected. By default, the first item in the drop-down
list is selected.
Table Tags
CSS
CSS describes how HTML elements are to be displayed on screen, paper, or in other media
CSS saves a lot of work. It can control the layout of multiple web pages all at once
Syntax:
Selector {
property1: value1;
property2:value2
Example:
p{
color: red;
text-align: center;
}
CSS Selectors
Grouping selector: Selects all the HTML elements with the same style definitions.
CSS Properties
CONCLUSION:
Creating a comprehensive HTML page involves integrating various elements such as forms, tables,
and styles to build a fully functional and aesthetically pleasing webpage. HTML tags are used to
structure the content, including headings, paragraphs, forms, and tables. CSS is applied to enhance
the visual presentation, using properties like background-color, font-family, and border to style
elements. Form controls such as text fields, checkboxes, and radio buttons collect user input, while
tables display data in an organized format. By combining these elements with CSS transitions and
hover effects, you can create an interactive and visually appealing user experience. This approach
ensures that the webpage is both functional and user-friendly, catering to various needs and
preferences.