Hyper Text Markup
Language
What is Html?
HTML stands for hyper text markup language
HTML describes the structure of web pages using markups
(tags)
HTML contains tags, elements, attributes
HTML elecments are represendted by tags.
tags are consists on opening and ending tag. such as
<Open tag>contents</ending tag>
elements are always lies between opening and ending tags.
Browsers do not display tag but using them to render the
contents of the webpage.
A simple HTML document using html
Example
<!DOCTYPE html>
<html>
<head>
<title>Page
Title</title>
</head>
<body>
<h1> Heading </h1>
<p>Paragraph</p>
</body>
</htm>l
Example Explained
The <!DOCTYPE html> declaration
defines this document to be HTML5
The <html> element
is the root element of an HTML page
The <head> element
contains meta information about the document
The <title> element
specifies a title for the document
The <body> element
contains the visible page content
The <h1> element
defines a large heading
The <p> element
defines a paragraphs
HTML Elements
An HTML element usually consists of a start tag
and end tag, with the content inserted in between:
<tag name> Content goes here...</tagname>
The HTML element is everything from the start tag
to the end tag:
<p>My first paragraph.</p>
HTML Attributes
All HTML elements can have attributes
Attributes provide additional information about an
element
Attributes are always specified in the start tag
Attributes usually come in name/value pairs like: name="value"
Example:
<p color="Red">This
is the Paragraph</p>
Result:
the
example given upper will be looks like the below:
This
is the Paragraph
Benefits of Html:
Html is easy to learn and understand : Almost everyone one
can learn it easily.
Almost all browsers supports html langugae to show the
contents on the webpage.
html and XML syntax is very similar
html is totaly free
Html is search engine friendly
Limitation of html:
html can't be used to make dynamic webpages
html can't be used to create dynamic forms
html can't do the things that css(CaseCading
Stylesheet) can do
html can add images, colors and other things in the webpage
but can't use variables for store informations such as other languages can.
basically it's not a real programming, it's just a word for
the internet
html can't process the forms used in the website but it can
create simple forms.
by means of process it can't use the input value from the
users and compare it with others and change it.
No comments:
Post a Comment