Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,038

HOME > HTML/CSS Manual > A


Send To Friend.Bookmark.

A

<A
ACCESSKEY=string
HREF=string
CLASS=string
DATAFLD=colname
DATASRC=#ID
ID=string
LANG=string
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT
METHODS=string
NAME=string
REL=string
REV=string
STYLE=string
TARGET=string
event = script
>

Anchor elements designate the start or destination of a hypertext link. The Anchor element requires the HREF= or the NAME= attribute to be specified.

ACCESSKEY=
Specifies an accelerator for the element.
HREF=
Specifies the destination URL or anchor point.
CLASS=
Specifies the class of the tag being defined. This is most often used to associated a sub-classed style sheet with the tag.
DATAFLD=
The column name from the data source object that supplies the bound data.
DATASRC=
Indicates the ID of the data source object that supplies the data that is bound to this element.
ID=
An SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid names to script with are any alphanumeric string that begins with a letter. Valid special characters include underbar "_".
LANG=
This specifies the language to use. The specifier is an ISO standard language abbreviation.
LANGUAGE=
Specifies the language that the current script is written in. JavaScript is the default for this attribute.
METHODS=
The METHODS attributes of anchors and links provide information about the functions that the user may perform on an object. These are more accurately given by the HTTP protocol when it is used, but it may, for similar reasons as for the TITLE= attribute, be useful to include the information in advance in the link. For example, the HTML user agent may chose a different rendering as a function of the methods allowed; for example, something that is searchable may get a different icon.
NAME=
Specifies the name of the control, bookmark, or applet.
REL=
The REL attribute gives the relationship(s) described by the hypertext link from the anchor to the target. The value is a comma-separated list of relationship values. Values and their semantics will be registered by the HTML registration authority. The default relationship if none other is given is void. The REL attribute is only used when the HREF= attribute is present.
REV=
The REV attribute is the same as the REL= attribute, but the semantics of the link type are in the reverse direction. A link from A to B with REL="X" expresses the same relationship as a link from B to A with REV="X". An anchor may have both REL and REV attributes.
STYLE=
Specifies an in-line style sheet for the tag.
TARGET=
Specifies the window or frame to target the contents at.
TITLE=
The Title attribute is used to provide advisory information.
event
Can be one or more of these events:

onblur onclick

ondblclick onfocus

onhelp onkeydown

onkeypress onkeyup

onmousedown onmousemove

onmouseout onmouseover

onmouseup onselectstart

Text and/or images may be within an anchor. To represent images that are anchors, a border in the visited or not visited color is displayed.

Both the start and end tags are required.

Example

<A HREF="http://www.microsoft.com">This is a link to Microsoft.</A>

<A HREF="home.htm">This is a link to a file called home.htm in the same

directory as this page.</A>

<A TARGET="viewer" HREF="sample.htm">Click here to load the link into

"viewer" window.</A>


ThaiCreate.Com Forum
Comunity Forum Free Web Script
Jobs Freelance Free Uploads
Free Web Hosting Free Tools

สอน PHP ผ่าน Youtube ฟรี
สอน Android การเขียนโปรแกรม Android
สอน Windows Phone การเขียนโปรแกรม Windows Phone 7 และ 8
สอน iOS การเขียนโปรแกรม iPhone, iPad
สอน Java การเขียนโปรแกรม ภาษา Java
สอน Java GUI การเขียนโปรแกรม ภาษา Java GUI
สอน JSP การเขียนโปรแกรม ภาษา Java
สอน jQuery การเขียนโปรแกรม ภาษา jQuery
สอน .Net การเขียนโปรแกรม ภาษา .Net
Free Tutorial
สอน Google Maps Api
สอน Windows Service
สอน Entity Framework
สอน Android
สอน Java เขียน Java
Java GUI Swing
สอน JSP (Web App)
iOS (iPhone,iPad)
Windows Phone
Windows Azure
Windows Store
Laravel Framework
Yii PHP Framework
สอน jQuery
สอน jQuery กับ Ajax
สอน PHP OOP (Vdo)
Ajax Tutorials
SQL Tutorials
สอน SQL (Part 2)
JavaScript Tutorial
Javascript Tips
VBScript Tutorial
VBScript Validation
Microsoft Access
MySQL Tutorials
-- Stored Procedure
MariaDB Database
SQL Server Tutorial
SQL Server 2005
SQL Server 2008
SQL Server 2012
-- Stored Procedure
Oracle Database
-- Stored Procedure
SVN (Subversion)
แนวทางการทำ SEO
ปรับแต่งเว็บให้โหลดเร็ว


Hit Link
   





ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2025 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่