SORU
23 EYLÜL 2011, Cuma


≪span> içinde H1 etiketi bir ekleme yapabilir miyiz?

Uygun bir yöntem H1 etiketi içine span etiketi kullanımı kolay mı?

 <h1>
    <span class="boardit">Portfolio</span>
 </h1>

Bu şekilde yazabiliriz...ve de kendi web siteme.. aşağıda sözdizimi aşağıdaki olduğumu biliyorum

 <h1 class="boardit">
    <span>Portfolio</span>
 </h1>

Ancak, ben Sadece html.. temiz formunu bilmek istedim

CEVAP
23 EYLÜL 2011, Cuma


Evet.

HTML4 has this to say:

<!ENTITY % heading "H1|H2|H3|H4|H5|H6">
<!--
  There are six levels of headings from H1 (the most important)
  to H6 (the least important).
-->

<!ELEMENT (%heading;)  - - (%inline;)* -- heading -->

Ve %inline;:

<!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; | %formctrl;">

%special; <span> içerir.

HTML5 has this to say:

İzin verilen içeriğini
Cümle içerik

Phrasing content <span> Phrasing elements içerir.

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • FUNKER530 - Veteran Community & Combat Footage

    FUNKER530 -

    25 Ocak 2007
  • Jay Will

    Jay Will

    19 NİSAN 2006
  • Malwarebytes

    Malwarebytes

    22 Temmuz 2007