0% found this document useful (0 votes)
47 views

HyperText Markup Language

HyperText Markup Language (HTML) is the standard markup language used to define the structure and layout of web pages on the World Wide Web. HTML uses tags to annotate text, images, and other content that is displayed in a web browser. Tags such as <p> and <img> define paragraphs and images. Cascading Style Sheets (CSS) and JavaScript are used alongside HTML to define styles and behaviors of web pages. The World Wide Web Consortium maintains HTML and CSS standards to encourage consistent rendering of web pages.

Uploaded by

nklharish1
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

HyperText Markup Language

HyperText Markup Language (HTML) is the standard markup language used to define the structure and layout of web pages on the World Wide Web. HTML uses tags to annotate text, images, and other content that is displayed in a web browser. Tags such as <p> and <img> define paragraphs and images. Cascading Style Sheets (CSS) and JavaScript are used alongside HTML to define styles and behaviors of web pages. The World Wide Web Consortium maintains HTML and CSS standards to encourage consistent rendering of web pages.

Uploaded by

nklharish1
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

HyperText Markup Language (HTML)

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

$conn = new mysqli($servername, $username, $password, $dbname);

// Check connection

if ($conn->connect_error) {

die("Connection failed: " . $conn->connect_error);

}
$sql = "INSERT INTO fine (name,bookid,da,fine)

VALUES ('$name', '$bookid','$da','$fine')";

if ($conn->query($sql) === TRUE) {

echo "New record created successfully";

} else {

echo "Error: " . $sql . "<br>" . $conn->error;

$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>

You might also like