HTML Programs-for beginners
in HTML programs includes the following things that will discuss in this lecture
<!DOCTYPE html>
<html>
<body>
<img src="#" width="104"
</body>
</html>
in the codes above the "#" will be represented by the image source URL. if you add your own image source should replace it with the source.
href attribute
<DOCTYPE html>
<html>
<body>
<a href="http://www.homtechnolog.com
</body>
</html>
Acronym
this will be edited bofore closing tags example from the codes above this will be added after <a href="http://www.homtechnolog.com...
example.
<DOCTYPE html>
<html>
<title> Programming hub acronym Tag</title>
<body>
<a href="http://www.homtechnolog.com
<acronym title="HyperText Markup Language">HTML</acronym>
</body>
</html>
address.
this will stand for the codes
example
<DOCTYPE html>
<html>
<title> Programming hub address Tag</title>
<body>
<footer>
<address>
<p><a href-" put address here>put a text here</a></p>
</address>
</footer>
</body>
</html>
italic
if you want to write in italic style in put the italic symbol after page (p). the italic will be represented by <i>...</i>
example
<p><i> imeandaliwa na mchuchuri</i></p>
the text will be imeandikwa na mchuchuri
the same applies to all styles
bold
the syle bold will be represented by <b></b>, or <strong>
eg.
<p><b> ibrahim anapenda kucheza mpira wa miguu</b></p>
the result will be
ibrahim anapenda kucheza mpira wa miguu
also you can combine together all style bold and italic
example
<p><i><b>mchuchuri</b></i></p>
the result output will be mchuchuri
horizontal line
horizontal line represented by <hr>
for example
<p><b> ibrahim anapenda kucheza mpira wa miguu</b></p>
<p><i><b>mchuchuri</b></i></p>
<p>chullytz</p>
</hr>
</hr>
</hr>
</body>
</html>
font size
this will increase or decrease the size of text
example of the font size
<!DOCTYPE html>
<html>
<head>
<body>
<h1 style="font-size: 35px;"> ibrahim anapenda kucheza mpira wa miguu</h1>
</body>
</head>
</html>
text color
this will add as font size, in the codes will be as;-
<h1 sytyle="color: blue"> ibrahim anapenda kucheza mpira wa miguu</h1>
background color
this will be added to the body, example
<body style="background-color:red">
also there are code colors that can be used in html and css. the codes colors such as following
prepared by IBRAHIM MCHUCHURI
- height and width attributes
- Acronym
- address
- color
- font size
- background color
- horizontal line
- italic
- bold
<!DOCTYPE html>
<html>
<body>
<img src="#" width="104"
</body>
</html>
in the codes above the "#" will be represented by the image source URL. if you add your own image source should replace it with the source.
href attribute
<DOCTYPE html>
<html>
<body>
<a href="http://www.homtechnolog.com
</body>
</html>
Acronym
this will be edited bofore closing tags example from the codes above this will be added after <a href="http://www.homtechnolog.com...
example.
<DOCTYPE html>
<html>
<title> Programming hub acronym Tag</title>
<body>
<a href="http://www.homtechnolog.com
<acronym title="HyperText Markup Language">HTML</acronym>
</body>
</html>
address.
this will stand for the codes
example
<DOCTYPE html>
<html>
<title> Programming hub address Tag</title>
<body>
<footer>
<address>
<p><a href-" put address here>put a text here</a></p>
</address>
</footer>
</body>
</html>
italic
if you want to write in italic style in put the italic symbol after page (p). the italic will be represented by <i>...</i>
example
<p><i> imeandaliwa na mchuchuri</i></p>
the text will be imeandikwa na mchuchuri
the same applies to all styles
bold
the syle bold will be represented by <b></b>, or <strong>
eg.
<p><b> ibrahim anapenda kucheza mpira wa miguu</b></p>
the result will be
ibrahim anapenda kucheza mpira wa miguu
also you can combine together all style bold and italic
example
<p><i><b>mchuchuri</b></i></p>
the result output will be mchuchuri
horizontal line
horizontal line represented by <hr>
for example
<p><b> ibrahim anapenda kucheza mpira wa miguu</b></p>
<p><i><b>mchuchuri</b></i></p>
<p>chullytz</p>
</hr>
</hr>
</hr>
</body>
</html>
font size
this will increase or decrease the size of text
example of the font size
<!DOCTYPE html>
<html>
<head>
<body>
<h1 style="font-size: 35px;"> ibrahim anapenda kucheza mpira wa miguu</h1>
</body>
</head>
</html>
text color
this will add as font size, in the codes will be as;-
<h1 sytyle="color: blue"> ibrahim anapenda kucheza mpira wa miguu</h1>
background color
this will be added to the body, example
<body style="background-color:red">
also there are code colors that can be used in html and css. the codes colors such as following
prepared by IBRAHIM MCHUCHURI
HTML Programs-for beginners
Reviewed by Unknown
on
May 11, 2017
Rating:
No comments