SQL Thesis
SQL Thesis
HTML TUTORIAL
HTML TUTORIAL
HTML stands for Hypertext Markup Language, and it is the most widely used
language to write Web Pages.
Hypertext refers to the way in which Web pages (HTML documents) are
linked together. Thus, the link available on a webpage is called Hypertext.
As its name suggests, HTML is a Markup Language which means you use
HTML to simply "mark-up" a text document with tags that tell a Web
browser how to structure it to display.
HTML was developed with the intent of defining the structure of documents like
headings, paragraphs, lists, and so forth to facilitate the sharing of scientific
information between researchers.
Now widely used for the web development for creation of web pages.
History:
HTML was created by Sir Tim Berners-Lee in late 1991 but was not officially
released. It was published in 1995 as HTML 2.0. HTML 4.01 was published in late
1999 and was a major version of HTML. HTML 5 can be said for an extended
version of HTML 4.01, which was published in the year 2012.
HTML element is everything from the start tag to the end tag:
Tags:
HTML is a markup language and makes use of various tags to format the
content. These tags are enclosed within angle braces. Except few tags, most of
the tags have their corresponding closing tags.
Tags with description:
HTML TUTORIAL
<!DOCTYPE> This tag defines the document type and HTML version.
<html> This tag encloses the complete HTML document and mainly
comprises of document header which is represented by ...
and document body which is represented by
...
tags.
<head> This tag represents the document's header which can keep
other HTML tags like
<title> The <title> tag is used inside the head to mention title of
the document
<body> This tag represents the document's body which keeps other
HTML tags
<frame>
<layout>
HTML TUTORIAL
Some Points:
<pre>
This is the demo for the pre tag texts that comes up with preformatting
tags
</pre>
pre {
display: block;
font-family: monospace;
white-space: pre;
margin: 1em 0;
}
3. Fonts: Fonts play a very important role in making a website more user
friendly and increasing content readability. The font tag is having three
attributes called size, colour, and face to customize your fonts.
This was used in HTML 4. Now HTML 5 we use directly style and provide
all the details.
4. Attributes: They are nothing but extra information that will be added
change or enhance the behaviour of the elements.
a. Each element or tag can have attributes, which defines the
behaviour of that element.
b. Attributes should always be applied with start tag.
c. The Attribute should always be applied with its name and value
pair.
d. Multiple attributes can be added in one tag.
HTML TUTORIAL
<element attribute_name="value">content</element>
<img src="whitepeacock.jpg" height="400" width="600">
<p title="This is paragraph tag">Just another example </p>
5. Links: This tag can be used when you want to link external style sheets to
your current page.
7. Color, Color Codes, Charts: We can choose different colour for our
pages either for decoration of texts or background of any part of the page.
There is Color code associated to each Color so that we can easily use that.
8. Lists: This will give the developer a way to show the data in grouped
manner. If some data need to be grouped and shown, then list is preferred
way to show the content.
There are different kinds of list:
a. Unordered List: List will be shown in bullets.
<ul>
<li>Cricket</li>
<li>Football</li>
<li>Tennis</li>
</ul>
Form:
It is way to collect different data from user or from any source with interactive
controls. Its facilities to input text, number, values, email, password, and
control fields such as checkboxes, radio buttons, submit buttons, etc
<form action="">
<label for="fname">First name:</label><br>
<input type="text" id="fname" value="Nishant"><br>
<label for="lname">Last name:</label><br>
<input type="text" id="lname value="Singh"><br><br>
<input type="submit" value="Submit">
</form>
HTML TUTORIAL
Extra form example will be provided to execute all of the form functionality.
HTML 5:
1. Audio and Video tag: Audio and Video tags are the two major
addition to HTML5. It allows developers to embed a video or audio on
their website.
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="data.mp3" type="audio/mpeg">
Browser unsupported.
</audio>
<header>
<h1>H1 header </h1>
<p>Introduction here</p>
</header>
<section>
<h2>Cricket</h2>
<p>Cricket is a game played since early 1800. It is global game and
cricket wc is organized every 4 years. </p>
</section>
<section>
<h2>JavaScript</h2>
<p>A global language that is used for the front-end development
mainly. It is scripting language and supported by all major browsers
</p>
</section>
8. Summary: This tag is used with details tag that comes up with the
drop down when executed.
<details>
<summary>JS</summary>
<p>A global accepted language for the browsers and the front-end
development. </p>
</details>
9. Time: Very specific to the time format it formats and shows the data in
time format.
Attributes:
HTML form attributes are used to provide additional information and behaviour to
HTML forms. Here are some commonly used form attributes:
1. `action`: Specifies the URL or file name where the form data will be
submitted when the form is submitted.
2. `method`: Specifies the HTTP method to be used when submitting the form
data.
5. `enctype`: Specifies the encoding type to be used when submitting the form
data to the server. Common values include `application/x-www-form-
urlencoded`, `multipart/form-data`, and `text/plain`.
6. `target`: Specifies the name or ID of the target window or frame where the
form response should be displayed.
8. `required`: Specifies that a form control must be filled out before submitting
the form.
10. `readonly`: Specifies that an input field should be read-only and cannot be
edited by the user.
</form>
The most commonly used values for the "formenctype" attribute are:
c. "text/plain": This encoding sends the form data as plain text without any
additional encoding. This encoding is rarely used in practice.
</form>
TABLE:
In HTML, the <table> element is used to create tables. Tables are used to
display data in a structured grid format with rows and columns. Here's an
example of how to create a basic table structure in HTML.
<table>
<tr>
<th>Name</th>
<th>Age</th>
<th>Profession</th>
</tr>
<tr>
<td>Nishant Singh</td>
<td>24</td>
<td>Instructor</td>
</tr>
<tr>
<td>Nitish </td>
<td>34 </td>
<td>Cricketers</td>
</tr>
</table>
HTML TUTORIAL