Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Lecture 4 Footnotes&Answers

371 visualizaciones

Publicado el

  • Sé el primero en comentar

  • Sé el primero en recomendar esto

Lecture 4 Footnotes&Answers

  1. 1. IS4 030 - Website Design for e-Commerce By SMIEEE, SMACM, MACS E-mail: [email_address] Room: P7919 Consultation Hours: 4:30 - 6:30pm Monday Lecture Four –XHTML and CSS
  2. 2. Differences Between XHTML and HTML <ul><li>The first line of every XHTML document must include a Document Type Declaration (DTD) </li></ul><ul><li>XHTML is stricter in terms of obeying the syntax of the language </li></ul><ul><li>In XHTML tags should be in lowercase letters </li></ul><ul><li>If I use uppercases in my XHTML page, can it still work when it is browsed by using IE? </li></ul>
  3. 3. Question: Why should I bother to learn HTML/XHTML coding? Why not just use FrontPage or Dreamweaver?
  4. 4. Your own CSS classes <ul><li>Create your own CSS classes (like a pre-defined HTML Tag) can be applied to any XHTML tags and any so any text: </li></ul><ul><li>Using it on the Web page: </li></ul><ul><li><p class=&quot;myStyle&quot;>some text</p> </li></ul><ul><li>Q: “some text” will be in red or blue? </li></ul><style type=&quot;text/css&quot;> .myStyle {color: red; font-size:24pt;} </style>
  5. 5. Tag Level CSS <ul><li>Styles can be added directly to an HTML tag </li></ul><ul><li>This is the most specific level, and therefore overrides all other (page, external) style definitions. However, it may not be a good design! </li></ul><ul><li>Why??? </li></ul><p style=&quot;font-family:Arial; font-size:12pt;&quot;> This paragraph will be <span style=&quot;color: red&quot;>Arial</span> 12 point </p>

×