Tài liệu Using the DIALOG Element

Thảo luận trong 'Thiết Kế Web' bắt đầu bởi Thúy Viết Bài, 5/12/13.

  1. Thúy Viết Bài

    Thành viên vàng

    Bài viết:
    198,891
    Được thích:
    173
    Điểm thành tích:
    0
    Xu:
    0Xu
    Conversation and comments are common place on the Web.
    The DIALOG element allows you to identify conversation on a
    screen. There are three main parts to the DIALOG element:
    ã The wrapping DIALOG element that identifies a conversation.
    ã A DT element that identifies the speaker.
    ã A DD element that identifies the conversation.
    Using the DIALOG element to block conversation can look as
    follows.
    <DIALOG>
    <DT>Josie Smith </DT>
    <DD>HTML5 is a great way to block semantic elements on
    a page. </DT>
    <DT>Ian Jones </DT>
    <DD>Yes, you are absolutely right. </DD>
    <DT>Josie Smith </DT>
    <DD>Conversation can now be easily identified. </DT>
    <DT>Ian Jones </DT>
    <DD><P>Blocking allows you to accomplish several things
    such as:</P>
    <UL>
    <LI>Clearly identifying blocks of content on a page</LI>
    <LI>Making it easier to construct page designs</LI>
    </UL>
    </DD>
    </DIALOG>
     

    Các file đính kèm:

Đang tải...