HyperText Markup Language
HyperText Markup Language
HyperText Markup Language (HTML) is the standard markup language for creating web
pages and web applications. With Cascading Style Sheets (CSS), and JavaScript, it forms a
triad of cornerstone technologies for the World Wide Web.[1] Web browsers receive HTML
documents from a webserver or from local storage and render them into multimedia web
pages. HTML describes the structure of a web page semantically and originally included cues
for the appearance of the document.
HTML elements are the building blocks of HTML pages. With HTML constructs, images and
other objects, such as interactive forms, may be embedded into the rendered page. It provides
a means to create structured documents by denoting structural semantics for text such as
headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated by
tags, written using angle brackets. Tags such as <img /> and <input /> introduce content into
the page directly. Others such as <p>...</p> surround and provide information about
document text and may include other tags as sub-elements. Browsers do not display the
HTML tags, but use them to interpret the content of the page.
HTML can embed programs written in a scripting language such as JavaScript which affect
the behavior and content of web pages. Inclusion of CSS defines the look and layout of
content. The World Wide Web Consortium (W3C), maintainer of both the HTML and the
CSS standards, has encouraged the use of CSS over explicit presentational HTML since
1997.[2]
Coding
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<?php
$name=$_GET["name"];
$bookid=$_GET["bookid"];
$da=$_GET["da"];
$fine=$_GET["fine"];
if($name!="")
$servername = "localhost";
$username = "id964069_ectechzone";
$password = "ectechzone";
$dbname = "id964069_ectechzone";
// Create connection
// Check connection
if ($conn->connect_error) {
}
$sql = "INSERT INTO fine (name,bookid,da,fine)
} else {
$conn->close();
?>
<br><br><br>
<form>
<input style="width: 200px; padding: 20px; cursor: pointer; box-shadow: 6px 6px 5px; #999;
-webkit-box-shadow: 6px 6px 5px #999; -moz-box-shadow: 6px 6px 5px #999; font-weight:
bold; background: #ffff00; color: #000; border-radius: 10px; border: 1px solid #999; font-
size: 150%;" type="button" value="Home"
onclick="window.location.href='https://kglibrary.000webhostapp.com/'" />
</form>
<br><br><br>
</body>
</html>