Basic HTML Structure
HTML BASIC STRUCTURE
HTML stands for HyperText Markup Language is one desaign web programming language and also commonly called a script to create Web documents.
HTML documents are stored in regular text format and contain tags which ordered a web browser to execute the commands specified HTML basic structure is as follows:
<html>
HTML stands for HyperText Markup Language is one desaign web programming language and also commonly called a script to create Web documents.
HTML documents are stored in regular text format and contain tags which ordered a web browser to execute the commands specified HTML basic structure is as follows:
<html>
<head>
<title> HTML Document Title </ title>
</ Head>
<body>
Web writing information
</ Body>
</ Html>
<title> HTML Document Title </ title>
</ Head>
<body>
Web writing information
</ Body>
</ Html>
From basic HTML structure above can be explained as follows :
A. TagAdalah special text (markup) in the form of two characters "<" and ">", as.
<body> example is a tag with a body.
Tags must be written in pairs, consisting of an opening tag and tag
cover (added character "/" after the character "<"),
<body> example of this is the opening tag of an HTML document contents, and
</ Body> closing tag is an HTML document.
A. TagAdalah special text (markup) in the form of two characters "<" and ">", as.
<body> example is a tag with a body.
Tags must be written in pairs, consisting of an opening tag and tag
cover (added character "/" after the character "<"),
<body> example of this is the opening tag of an HTML document contents, and
</ Body> closing tag is an HTML document.
B. Element.
Element consists of three parts, namely the opening tag, content and closing tag.
For example to display the title of an HTML document on web
use the browser title elements, wherein:
This is the opening tag <title> HTML document title
This HTML document title is the title of the contents of an HTML document
</ Title> this is the closing tag of an HTML document title
Tags are written in pairs on an HTML element, not
may overlap with other tags into pairs.
Examples of writing the correct tags
<p>
<b>
</ B>
</ P>
Note: If writing the script is wrong, then the script is not perfect readability
(Error) so that it can interfere with the appearance and dynamics of the web itself
C. AttributeAttribute defining property of an HTML element, which consists of
name and value. The writing is as follows:
<TAG>
name-attr = "value-attr"
name-attr = "value-attr"
>
Element consists of three parts, namely the opening tag, content and closing tag.
For example to display the title of an HTML document on web
use the browser title elements, wherein:
This is the opening tag <title> HTML document title
This HTML document title is the title of the contents of an HTML document
</ Title> this is the closing tag of an HTML document title
Tags are written in pairs on an HTML element, not
may overlap with other tags into pairs.
Examples of writing the correct tags
<p>
<b>
</ B>
</ P>
Note: If writing the script is wrong, then the script is not perfect readability
(Error) so that it can interfere with the appearance and dynamics of the web itself
C. AttributeAttribute defining property of an HTML element, which consists of
name and value. The writing is as follows:
<TAG>
name-attr = "value-attr"
name-attr = "value-attr"
>
</ TAG>
In general, attribute values must be within one or two quotes.
For example, to make the text color to yellow and the background
web page to black, the writing is the <body bgcolor = "black"
text = "yellow">
In general, attribute values must be within one or two quotes.
For example, to make the text color to yellow and the background
web page to black, the writing is the <body bgcolor = "black"
text = "yellow">
D. HTML Elements.
Stated on a Web browser that the document is used
HTML.
Syntax:
<html>
</ Html>
E. HEAD element.
Is the head of an HTML document. <head> Tags and tag </ head> lies
between tags and tag <html> </ html>.
Syntax:
<head>
</ Head>
F. TITLE element.
Is the title of the HTML document displayed on the window title
browser. <title> Tags and tag </ title> tags located between <head> and tag
The </ head>.
Syntax:
<title>
</ Title>
Stated on a Web browser that the document is used
HTML.
Syntax:
<html>
</ Html>
E. HEAD element.
Is the head of an HTML document. <head> Tags and tag </ head> lies
between tags and tag <html> </ html>.
Syntax:
<head>
</ Head>
F. TITLE element.
Is the title of the HTML document displayed on the window title
browser. <title> Tags and tag </ title> tags located between <head> and tag
The </ head>.
Syntax:
<title>
</ Title>
G. BODY Element.
This element to display the contents of an HTML document. <body> Tags and tag
</ Body> tag is located under <head> and tag </ head>.
BODY element has the attribute that specifies the attribute-
especially the colors and background documents will be displayed on
browser.
<body text="v" bgcolor="w" background="uri" link="x" alink="y" vlink="z">
</ Body>
text: to give color to the text
bgcolor: background color to provide an HTML document
background: provide background in the form of an HTML document
drawing
link: provide color for links
alink: give color to the currently active link
vlink: provide color for links that have been visited.
Note: If the attribute specified bgcolor and background both
then the background attribute to be used, but if the attribute value
background (picture) was not found on an HTML document then the bgcolor attribute
which will be used.
Below I'll mention a variety of basic HTML code that need unknown.
1 <br>
Down one line down (enter) / cursor and sentence
down one row behind him down
2. <big> the content </ big> Make a paper to be slightly larger
3. <font color = "color
writing "> the content </ font>
Coloring writing. Replace the paper with one color
options available: red, blue, yellow, green, brown, gold,
purple
4. Adding a space due to possible use of two
spaces will not be readable on some blog engines
5. <Font size = "size
writing "> the content </ font>
Changing the text size. Can be used when the code
at no. 2 does not fit with our desire
6. <strong> content
text </ strong>
or
<b> the content </ b>
For bold text. Functions same as "'contents
words "'or key' bold '
7. <p> Cursor and the sentences fell one and a half behind bottom line
8. <u> the content </ u> Underline Create article
9. <small> the content </ small> Make writing a little smaller
10. <s> the content </ s> Create a line crossed out on paper
11. <pre> the content </ pre>
Create a permanent post at the circumstances that we want
for example, to order lined bottom
12 <center> content
text </ center>
Make a paper in the middle of the page
13 <BLINK> the content </ blink> Create writings seem to flash
Actually this is a small part of the HTML language, so no harm we learn
a little bit to master.
This element to display the contents of an HTML document. <body> Tags and tag
</ Body> tag is located under <head> and tag </ head>.
BODY element has the attribute that specifies the attribute-
especially the colors and background documents will be displayed on
browser.
<body text="v" bgcolor="w" background="uri" link="x" alink="y" vlink="z">
</ Body>
text: to give color to the text
bgcolor: background color to provide an HTML document
background: provide background in the form of an HTML document
drawing
link: provide color for links
alink: give color to the currently active link
vlink: provide color for links that have been visited.
Note: If the attribute specified bgcolor and background both
then the background attribute to be used, but if the attribute value
background (picture) was not found on an HTML document then the bgcolor attribute
which will be used.
Below I'll mention a variety of basic HTML code that need unknown.
1 <br>
Down one line down (enter) / cursor and sentence
down one row behind him down
2. <big> the content </ big> Make a paper to be slightly larger
3. <font color = "color
writing "> the content </ font>
Coloring writing. Replace the paper with one color
options available: red, blue, yellow, green, brown, gold,
purple
4. Adding a space due to possible use of two
spaces will not be readable on some blog engines
5. <Font size = "size
writing "> the content </ font>
Changing the text size. Can be used when the code
at no. 2 does not fit with our desire
6. <strong> content
text </ strong>
or
<b> the content </ b>
For bold text. Functions same as "'contents
words "'or key' bold '
7. <p> Cursor and the sentences fell one and a half behind bottom line
8. <u> the content </ u> Underline Create article
9. <small> the content </ small> Make writing a little smaller
10. <s> the content </ s> Create a line crossed out on paper
11. <pre> the content </ pre>
Create a permanent post at the circumstances that we want
for example, to order lined bottom
12 <center> content
text </ center>
Make a paper in the middle of the page
13 <BLINK> the content </ blink> Create writings seem to flash
Actually this is a small part of the HTML language, so no harm we learn
a little bit to master.
0 komentar:
Posting Komentar
Terima Kasih Sudah Rela Berkunjung di Blog Agustinus.