Re: Ӧ��ͳһ����Ԫ�غͱ�ǩ��˵��

Ԫ��(element)��������Á���ʾdomԪ����
�˻`(tag) ��ָ plain text �e���ض���ʽ�����֡�

"HTML5���x��<audio> tag��׌�_�l������ javascript ���� audio element��"


Ben Lee





2011/4/12 Ren-Shan Luoh <lcamel@gmail.com>

> ���˵�����������:
>
> SGML / XML : ���x�Z�ԵĹ���
>
> HTML : һ���Z��/һ�M�ķ�, an SGML application.  Element type definition �ڴ�
>    <!ELEMENT P - O (%inline;)*            -- paragraph -->
>
> test.html : �ļ�, a HTML document instance.  Element �ڴ�, tag Ҳ�ڴ�
>    <P>This is the first paragraph.</P>
>
> <!Element P ... --> �� element type definition.
> <P>...</P> ������ element.
> <P> �@3������ start tag.
> </P> �@4������ end tag.
> P �@1���ּ��� tag name, Ҳ�� element name.
> (HTML5 spec: Tags contain a tag name, giving the element's name.)
>
>
> Tag ָ�����ϵ� <P> �� </P>
> Element ָ�����Ϻ͸����ϵ������|��.
>
> ����:
> * ����� P �@�� element ��?
> * �� <P> �@�� tag �������������Գ�һ��.
>
> Ҳ...߀���Ķ�������:
> * ����� <P> �@�� element ��?
> * �� P �@�� tag �������������Գ�һ��.
>
>
>
> ==== ���ĽY���ķָ��� ====
>
> �a��һ�c��Ҋ.
>
> ǰ���ᵽ:
>
> > ��HTML 4.01 --��on SGML and HTML��3.2.1�ж�Element�Ķ���:
> > Each element type declaration generally describes three parts: a start
> tag, content, and an end tag.
> > ��ȷ��ָ��һ��Ԫ�ذ�����ʼ��ǩ,,���ݺͽ�����ǩ.����������������ʾ�����Ǹ�Ԫ��:
> > <p>foo</p>
>
> �����X���@߅����� element type declaration �� element ���_��B���S����...?
>
>
> > HTMLȨ��ָ��Ҳ������ȫ����Դ�element��tag����˼�������6��4.4.2д����
> >     The <acronym> tag indicates that the enclosed text is an acronym
> > ��ʵ������������ָelemnent��������tag��
>
> �@߅ԭ���� <acronym> tag ����Ҳ��, ���ǰ�� tag ���� enclosing �|��.
>
>
> > html��SGML(Standard Generalized Markup Language)��һ��Ӧ�á�
> > �������DZ�����ԣ���һ�ֶ����ݵĽṹ���д洢��һ�����ԣ�
> > ����xml��yaml��jsonһ����
>
> ǰ�ě]���@����˼, ���^�ҵ�һ���x̫��,
> �Լ��`�x�� "... XML ���� HTML, Ҳ�� SGML ��һ�N����".
> ����һ���Y��, David Megginson �� SGML FAQ �ĵ�8�c���ᵽ:
>
> 8) What's the difference between SGML and XML?
>
>   ANSWER: Unlike HTML, XML is not an SGML application -- instead,
>    it's a set of simple conventions for using SGML without some of
>    the more esoteric features.  It's still SGML, though.
>
> ���� XML �� SGML һ��, �� HTML ����һ��.
>
>
> LCamel
>

Received on Thursday, 23 June 2011 11:40:13 UTC