Home > Web Front-end > HTML Tutorial > Summary of uncommon tags in html

Summary of uncommon tags in html

巴扎黑
Release: 2017-08-21 11:43:08
Original
1654 people have browsed it

Introducing a few uncommon HTML tags

##In the HTML kingdom, there are many people here. Usually we see some familiar faces, but how much do you know about those unfamiliar faces? Do you know how to use them?

0, tag
tag appears on the first line of the HTML document. Information and description The document type is a Standard Generalized Markup Language (SGML) declaration, not an element. Syntax:

Example:

##1, TagThe abbreviation of a word or phrase (such as " HTML"). Usually the title attribute is also used to indicate the original word or phrase.
The abbreviation is not necessarily an abbreviation, but an abbreviation is also an abbreviation. Note: Internet Explorer does not yet support abbr.
The tag is used to mark an abbreviation. Example:
HTMLDOM
is not useful for simple browsing, but it can be used if you want the text to be searchable.
Note: This element can only be placed in the body and used within the line of text.

##2. The tag

element allows the author to clearly identify a sequence of characters that make up an abbreviation (for example: "WWW ", "FNAC", "IRS", etc.). The ability to identify abbreviations is useful for spell checking, speech systems, and other user agent tools. Grammar:

<ACRONYM
TITLE=text 
LANG=language 
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS 
CLASS=Style Sheet class name
STYLE=styling
ID=value
event = script
>
Copy after login

Example:

FBI



3. BASE element

The BASE element specifies an explicit URL for resolving links and references to external sources, such as Images and stylesheets.

When used, the BASE element must appear within the HEAD of the document, before any reference to an external source.

This element is available in HTML in Microsoft® Internet Explorer 3.0 and in script in Internet Explorer 4.0. This element will not be rendered. This element does not require a closing tag.

4. Tag

Description: Introducing a JAVA APPLET.
Grammar:


<APPLET
ALIGN=alignment
ALT=alternate Text
ARCHIVE=compressed file 
CLASS=Style Sheet class name
CODE=appletFile
CODEBASE=url
DATAFLD=colname
DATASRC=Data Source
HEIGHT=n pixels
HSPACE=n pixels
ID=value
NAME=name
SRC=url
STYLE=styling
TITLE=text
VSPACE=n pixels
WIDTH=n pixels
event = script
>
Copy after login

Example:

<applet code="coolnav.class" align="baseline" width="168" height="313">
<param name="Notice" value="CoolMenu2.5,CopyRight (c) 1999 SourceTec Software Co. Ltd, Registered">
<param name="ApStyle" value="004080,ff8c8c,,1,0,0,,13,5,004080,1,Loading image ...">
...
</applet>
Copy after login

5、 Tag


The tag is used to display the table title. Its function is to mark a title column for the table, just like adding a ruled column above the table. Of course, it can also be placed below, which is usually used to store the title of the form.

Grammar:

<CAPTION
ALIGN=BOTTOM | CENTER | LEFT | RIGHT | TOP
VALIGN=BOTTOM | TOP
CLASS=Style Sheet class name
ID=value
LANG=language 
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS 
STYLE=styling
TITLE=text content
event = script
>
Copy after login

Example:

<TABLE border=1><CAPTION VALIGN=BOTTOM>This caption will appear below the table.
</CAPTION><TR>< TD>Here</TD>is the<TD>table.</TD></TR></TABLE>
Copy after login

6. tag

The tag is used the same as , but the version is older. Syntax:

<COMMENT
ID=value
LANG=language 
TITLE=text content
>
Copy after login

Example:

The text won't render. It will not appear in the browser.



7. tag


tag is used to indicate deleted text, usually displayed as having Underlined text. Grammar:

<DEL
CLASS=Style Sheet class name
ID=value
LANG=language 
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS 
STYLE=styling
TITLE=text content
event = script
>
Copy after login

Example:
This sentence is no longer available

Displayed as:

This sentence is no longer available.


##8、

Tag

Tags are used to indicate a directory list. Each item in the list starts with
  • and should not exceed 20 characters.

    Syntax:

    <DIR
    CLASS=Style Sheet class name
    ID=value
    LANG=language 
    LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS 
    STYLE=styling
    TITLE=text content
    event = script
    >
    Copy after login
    Example:

    <DIR>
    <LI>item 1
    <LI>item 2
    <LI>item 3
    <LI>item 4
    </DIR>
    Copy after login

    9、

    标签
    元素帮助表单设计者技术性地把控件成组.成组控件使用户更容易明白它们的意图,同时也可以帮助可视用户代理器和面向语音的语音导航用户代理器.这些元素的适当使用使得有残疾的人们更易于操作.
    语法:

    <FIELDSET
    ALIGN=alignment 
    CLASS=Style Sheet class name
    ID=value
    LANG=language 
    LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS 
    STYLE=styling
    TITLE=text content
    event = script
    >
    Copy after login

    例子:

    <FIELDSET ID="fld1" STYLE="width:250">
    <LEGEND ALIGN="left">Choose a topic</LEGEND>
    <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="200">
    <TR>
    <TD><LABEL FOR="radEducation">Education</LABEL></TD>
    <TD><INPUT TYPE="radio" NAME="topic" VALUE="Education" ID="radEducation"></TD>
    <TD><LABEL FOR="radInternet">Internet </LABEL></TD>
    <TD><INPUT TYPE="radio" NAME="topic" VALUE="Internet" ID="radInternet"></TD>
    </TR>
    ... 
    </TABLE>
    </FIELDSET>
    Copy after login

    10、

    标签
    标签用于生成单列式菜单列表。
    语法:

    <MENU
    CLASS=classname
    ID=value
    LANG=language
    STYLE=css1-properties
    TITLE=text
    event = script
    >
    Copy after login

    例子:

    <MENU>
    <LI>First item in the list.
    <LI>Second item in the list.
    <LI>Third item in the list.
    </MENU>
    Copy after login

    The above is the detailed content of Summary of uncommon tags in html. For more information, please follow other related articles on the PHP Chinese website!

    Related labels:
    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template