HTML CSS Reference/HTML Attributes Reference/name

Материал из Web эксперт
Перейти к: навигация, поиск

"name" Example

   <source lang="html4strict">
   

<HTML> <head><Title>Example For name</Title></head> <BODY> <a href="#bottom">Go to the bottom of this page</a>































</BODY> </HTML>


     </source>
   
  


name is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |<a> <applet> | | |<button> <embed> | | |<form> <frame> | | |<frameset> <iframe> | | |<img> <input type="button"> | | |<input type="checkbox"> <input type="file"> | | |<inputtype="hidden"> <input type="image"> | | |<input type="password"> <inputtype="radio"> | | |<input type="reset"> <input type="submit"> | | |<input type="text"> <link> | | |<map> <object> | | |<param> | | | <select> | | |<textarea> | +----------------+--------------------------------------------------------------+

     </source>
   
  


"name" Syntax and Note

   <source lang="html4strict">

Note:

This attribute sets the element name or the target for an anchor <a> element. This attribute also identifies the elements sent to the server. HTML 4.0 favors the id attribute.

Syntax:

<element name="value"> . . . </element>


     </source>