Html basics



Download 226,15 Kb.
Pdf ko'rish
bet6/10
Sana22.06.2022
Hajmi226,15 Kb.
#692650
1   2   3   4   5   6   7   8   9   10
Bog'liq
HTML Basics

My First Webpage

 
Welcome to my first web page. I am writing this page using a text editor and plain 
old html.
By learning html, I'll be able to create web pages like a pro....
which I am of course.
tag has two attributes where you can specify backgrounds. The background can be a color 
or an image. 
Bgcolor 
The bgcolor attribute specifies a background-color for an HTML page. The value of this attribute can be 
a hexadecimal number, an RGB value, or a color name: 

 
 
The lines above all set the background-color to black.
Background 
The background attribute can also specify a background-image for an HTML page. The value of this 
attribute is the URL of the image you want to use. If the image is smaller than the browser window
the image will repeat itself until it fills the entire browser window. 
background="clouds.gif"

background="http://profdevtrain.austincc.edu/html/graphics/clouds.gif"

The URL can be relative (as in the first line above) or absolute (as in the second line above).
If you want to use a background image, you should keep in mind: 
ƒ
Will the background image increase the loading time too much? 
ƒ
Will the background image look good with other images on the page? 
ƒ
Will the background image look good with the text colors on the page? 
ƒ
Will the background image look good when it is repeated on the page? 
ƒ
Will the background image take away the focus from the text? 
Note: The bgcolor, background, and the text attributes in the  tag are deprecated in 
the latest versions of HTML (HTML 4 and XHTML). The 
World Wide Web Consortium
(W3C) has 
removed these attributes from its recommendations. Style sheets (CSS) should be used instead 
(to define the layout and display properties of HTML elements). 
Try It Out!
Open your text editor and type the following text: 


 
 
My First Webpage 
 
bgcolor="#EDDD9E"> 

Download 226,15 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   10




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish