learn HTML text format for a beginner to learn basic HTML
MATERIALS:
basic structure of HTML documents (Tag, Element, Attribute), Element HTML, HEAD Element, Element TITLE, BODY Element.
Thursday, March 24, 2011
Sore Throat During My Period
HTML HTML stands for HyperTextMarkup Language is a script for menyusundokumen-Web documents. HTML documents are stored in text format containing regulerdan \u0026lt;/ html> tags are ordered to execute a web browser-perintahyang order specified. basic structure of HTML documents are as follows: \u0026lt;html> \u0026lt;head> \u0026lt;title> Here JudulDokumen HTML \u0026lt;/ title> \u0026lt;/ head> \u0026lt;body> Here writing informasiWeb \u0026lt;/ body> |
a. Tag
is a special text (markup
) in the form of two characters "
\u0026lt;
" and "
>
", for example
\u0026lt;body>
is tagged with the name of the body. Overall
tag written in pairs, consisting of
opening tag and closing tag
(added character " / " after the character " \u0026lt;"), for example \u0026lt;body> this is the opening tag contents of an HTML document, and \u0026lt;/ body> closing tag
This is an HTML document.
is a special text (markup
) in the form of two characters "
\u0026lt;
" and "
>
", for example
\u0026lt;body>
is tagged with the name of the body. Overall
tag written in pairs, consisting of
opening tag and closing tag
(added character " / " after the character " \u0026lt;"), for example \u0026lt;body> this is the opening tag contents of an HTML document, and \u0026lt;/ body> closing tag
This is an HTML document.
, content, and closing tag. Sebagaicontoh to display the title of HTML document in WebBrowser used elementtitle , where: \u0026lt;title> this is the opening title tag dokumenHTML Document Title Here HTML is the content of an HTML document title \u0026lt;/ title> this is the closing tag of the HTML document title tags are written in pairs on a elementHTML, may not overlap with any other pair tags. Examples of writing the tags are correct \u0026lt;p> \u0026lt;b> ; ................ \u0026lt;/ b> \u0026lt;/ p> |
\u0026lt;p>
; \u0026lt;b>
................
\u0026lt;/ p>
\u0026lt;/ b>
c. Attribute Attribute defines ; \u0026lt;b>
................
\u0026lt;/ p>
\u0026lt;/ b>
\u0026lt;TAG> name attr = "attr-value" name attr = "attr-value" ................. > ................. \u0026lt;/ TAG> generally attribute value must beradadalam tandapetik one or two. For example, to make the text color and background menjadikuning web page to be black, looks are \u0026lt;bodybgcolor="black" text="yellow"> d.Element HTML State in Web browser that the document The digunakanadalah HTML. Syntax: \u0026lt;html> .......... \u0026lt;/ html> |
\u0026lt;/ head>
f. Element TITLE is the title of HTML document displayed on the title jendelabrowser. \u0026lt;title> Tag and closing \u0026lt;/ title> is located in antaratag \u0026lt;head> and closing \u0026lt;/ head>.
Syntax:
.........
\u0026lt;/ title> g. BODY Element Element
to display the contents of the HTML document. \u0026lt;body> Tags and tag \u0026lt;/ body> tag is under \u0026lt;head> and tag \u0026lt;/ head>. BODY element has an attribute, an attribute that menspesifikasikankhususnya color and background documents will be displayed padabrowser.
\u0026lt;/ title> g. BODY Element Element
to display the contents of the HTML document. \u0026lt;body> Tags and tag \u0026lt;/ body> tag is under \u0026lt;head> and tag \u0026lt;/ head>. BODY element has an attribute, an attribute that menspesifikasikankhususnya color and background documents will be displayed padabrowser.
....... ....... EXERCISE \u0026lt;/ body> Attribute memberikanwarna text to text, bgcolor gives color to the background of an HTML document, background gives background of the HTML document in the form of images, color memberikannilai link to link, alink gives color to the currently active link, vlink memberikanwarna for links that have been visited. If the attribute bgcolor and background both dispesifikasikanmaka attribute background which will be used, will tetapijikanilai attribute background (picture) does not match any documents HTMLmaka bgcolor attribute to be used. |
Gunakanteks suppose editor "Notepad" to edit danmenyimpan
exercise script below. To view hasilnyabukalah file using a web browser or gunakaneditor which has been available in this module by clicking Editor menu.
Exercise 1:
Featured text: Ternyatamudah learn web programming languages \u200b\u200bas well:)
Filename: latihan1_1.html
Exercise 1:
Featured text: Ternyatamudah learn web programming languages \u200b\u200bas well:)
Filename: latihan1_1.html
\u0026lt; head> \u0026lt;title> Latihan1-1 \u0026lt;/ title> \u0026lt;/ head> \u0026lt;body> Belajarbahasa web programming was easy, too:) \u0026lt;/ body> \u0026lt;/ html> Tugastambahan: Replace the text with other text. Exercise 2: Changing the text color to red: ; pemrogramanweb Learning a new language was easy too:) |
\u0026lt;html> \u0026lt;head>
\u0026lt;title> Latihan1-2 \u0026lt;/ title> \u0026lt;/ head> \u0026lt;body text="red"> ; Belajarbahasa web programming was easy, too:) \u0026lt;/ body> \u0026lt;/ html>
additional Duties: Try to color: maroon, black, yellow, white, lime, green, blue, red, olive, navy, purple, teal, gray, silver, fuchsia, aqua. Exercise 3:
Change the background color to black.
Filename: latihan1_3.html
\u0026lt;html> \u0026lt;head>
\u0026lt;title> Latihan1-3 \u0026lt;/ title> \u0026lt;/ head> \u0026lt;body text="red" bgcolor="black">
Belajarbahasa web programming was easy, too:) \u0026lt;/ body> \u0026lt;/ html>
Cobalahuntuk color: maroon, black, yellow, white, lime, green, blue, red, olive, navy, purple, teal, gray, silver, fuchsia , aqua. \u0026lt;head> Exercise 4: Changing the background with an image. Filename: latihan1_4.html \u0026lt;html> | \u0026lt;title> Latihan1-4 \u0026lt;/ title>
\u0026lt;/ body>
\u0026lt;/ html>
\u0026lt;/ html>
note:
. / images / = image file directory name stored image027.jpg = image file name
Subscribe to:
Post Comments (Atom)
|
0 comments:
Post a Comment