Web Programming with html5, css, and JavaScript



Download 18,68 Mb.
Pdf ko'rish
bet95/98
Sana28.10.2022
Hajmi18,68 Mb.
#857632
1   ...   90   91   92   93   94   95   96   97   98
Bog'liq
Web Programming with HTML5, CSS, and JavaScript

Paradise in Parkville!



Welcome to Parkville – Party Town, USA.
• Continuation code for phrasing elements whose code is too long for one line:

If a phrasing element cannot fit on one line, you should insert newlines at logical 
breaking points. In the following examples, the 
a
element cannot fit on one line so 
newline insertions are required. In the “bad” example, newlines are inserted after 
href=
and 
onclick=
. Those are poor breaking points because the 
href
and 
onclick
assignments are split. In the “good” example, newlines are inserted after 
website 
and 
after the 
a
start tag. Those are good breaking points because they help prevent the 
href
and 
onclick
assignments from being split.
637
body
Container


Bad:
For additional information on our ICS
program, check out this website - "http://www.park.edu/csis" onclick=
"return confirm('Are you sure?');">
http://www.park.edu/csis
Good:
For additional information on our ICS program,
check out this website –
onclick="return confirm('Are you sure?');">
http://www.park.edu/csis

Note that the 
a
element’s continuation lines are aligned with the 
a
element’s first line
that is, they are not indented. That’s because the 
a
element is within a 
p
container. If the 
a
element were in a container (like nav) that was not supposed to look like a paragraph
then you should indent like this: 
onclick="return confirm('Are you sure?');">
3. Lists:
• Normally, you should nest 
ol

ul

dl
, and 
li
elements as follows:


  1. Morning



  2. Afternoon

    • Kick back and relax.


    • Lecture period – not much prepared so allow students to
      ask questions and surf the Internet for cool web pages.

    • Go home and watch TV.



  3. Evening



Download 18,68 Mb.

Do'stlaringiz bilan baham:
1   ...   90   91   92   93   94   95   96   97   98




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