{"id":8523,"date":"2021-09-01T08:57:38","date_gmt":"2021-09-01T08:57:38","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=8523"},"modified":"2021-09-01T08:57:40","modified_gmt":"2021-09-01T08:57:40","slug":"tutorial-for-name-attribute-in-html-for-php","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/","title":{"rendered":"Tutorial for Name Attribute in HTML for PHP"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">What is Name Attribute?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A set of attribute values plus an attribute identifier make up an attribute. The attribute identifier, often known as the attribute name, is a string that uniquely identifies a property. The content of an attribute is its value, and its type is not limited to that of a string. When you wish to define a specific attribute for retrieval, searches, or update, you use an attribute name. Operations that yield characteristics also return names (such as when you perform reads or searches in the directory).<br>You must be aware of specific directory server characteristics while using attribute names so that the result does not surprise you. These characteristics are discussed in the next section.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Uses of  Name Attribute <\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>The\u00a0<code>name<\/code>\u00a0attribute specifies a name for an HTML element.<\/li><li>This\u00a0<code>name<\/code>\u00a0attribute can be used to reference the element in a JavaScript.<\/li><li>For a\u00a0<code>&lt;form><\/code>\u00a0element, the\u00a0<code>name<\/code>\u00a0attribute is\u00a0 used as a reference when the data is submitted.<\/li><li>For an\u00a0<code>&lt;iframe><\/code>\u00a0element, the\u00a0<code>name<\/code>\u00a0attribute can be used to target a form submission.<\/li><li>For a\u00a0<code>&lt;map><\/code>\u00a0element, the\u00a0<code>name<\/code>\u00a0attribute is associated with the\u00a0<code>&lt;img><\/code>&#8216;s\u00a0<code>usemap<\/code>\u00a0attribute and creates a relationship between the image and the map.<\/li><li>For a\u00a0<code>&lt;meta><\/code>\u00a0element, the\u00a0<code>name<\/code>\u00a0attribute specifies a name for the information\/value of the\u00a0<code>content<\/code>\u00a0attribute.<\/li><li>For a\u00a0<code>&lt;param><\/code>\u00a0element, the\u00a0<code>name<\/code>\u00a0attribute is used together with the\u00a0<code>value<\/code>\u00a0attribute to specify parameters for the plugin specified with the\u00a0<code>&lt;object><\/code>\u00a0tag.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Name Attribute Used with:-<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Elements<\/th><th>Attribute<\/th><\/tr><tr><td>&lt;button><\/td><td>name<\/td><\/tr><tr><td>&lt;fieldset><\/td><td>name<\/td><\/tr><tr><td>&lt;form><\/td><td>name<\/td><\/tr><tr><td>&lt;iframe><\/td><td>name<\/td><\/tr><tr><td>&lt;input><\/td><td>name<\/td><\/tr><tr><td>&lt;map><\/td><td>name<\/td><\/tr><tr><td>&lt;meta><\/td><td>name<\/td><\/tr><tr><td>&lt;object><\/td><td>name<\/td><\/tr><tr><td>&lt;output><\/td><td>name<\/td><\/tr><tr><td>&lt;param><\/td><td>name<\/td><\/tr><tr><td>&lt;select><\/td><td>name<\/td><\/tr><tr><td>&lt;textarea><\/td><td>name<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Name Attribute? A set of attribute values plus an attribute identifier make up an attribute. The attribute identifier, [&hellip;]<\/p>\n","protected":false},"author":33,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5388],"tags":[4459,6090,6629,177,6625,6626,670,6627],"class_list":["post-8523","post","type-post","status-publish","format-standard","hentry","category-php","tag-html","tag-name-attribute","tag-name-attribute-used-with","tag-php","tag-tutorial-for-name-attribute","tag-tutorial-for-name-attribute-in-html-for-php","tag-what","tag-what-is-name-attribute"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Tutorial for Name Attribute in HTML for PHP - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tutorial for Name Attribute in HTML for PHP - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"What is Name Attribute? A set of attribute values plus an attribute identifier make up an attribute. The attribute identifier, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/profile.php?id=100003935402658\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-01T08:57:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-01T08:57:40+00:00\" \/>\n<meta name=\"author\" content=\"Ashwani Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashwani Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/tutorial-for-name-attribute-in-html-for-php\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/tutorial-for-name-attribute-in-html-for-php\\\/\"},\"author\":{\"name\":\"Ashwani Kumar\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/19f28f8f969c1679bfb37d4dad6adc31\"},\"headline\":\"Tutorial for Name Attribute in HTML for PHP\",\"datePublished\":\"2021-09-01T08:57:38+00:00\",\"dateModified\":\"2021-09-01T08:57:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/tutorial-for-name-attribute-in-html-for-php\\\/\"},\"wordCount\":279,\"commentCount\":0,\"keywords\":[\"HTML\",\"name attribute\",\"Name Attribute Used with\",\"Php\",\"Tutorial for Name Attribute\",\"Tutorial for Name Attribute in HTML for PHP\",\"What\",\"What is Name Attribute\"],\"articleSection\":[\"php\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/tutorial-for-name-attribute-in-html-for-php\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/tutorial-for-name-attribute-in-html-for-php\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/tutorial-for-name-attribute-in-html-for-php\\\/\",\"name\":\"Tutorial for Name Attribute in HTML for PHP - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2021-09-01T08:57:38+00:00\",\"dateModified\":\"2021-09-01T08:57:40+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/19f28f8f969c1679bfb37d4dad6adc31\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/tutorial-for-name-attribute-in-html-for-php\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/tutorial-for-name-attribute-in-html-for-php\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/tutorial-for-name-attribute-in-html-for-php\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorial for Name Attribute in HTML for PHP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/19f28f8f969c1679bfb37d4dad6adc31\",\"name\":\"Ashwani Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g\",\"caption\":\"Ashwani Kumar\"},\"description\":\"There is no end to education. It is not that you read a book, pass an examination, and finish with education. The whole of life, from the moment you are born to the moment you die, is a process of learning.\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/profile.php?id=100003935402658\",\"https:\\\/\\\/www.instagram.com\\\/adarshashwani\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/adarsh-ashwani-a75b23130\\\/\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/ashwani\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tutorial for Name Attribute in HTML for PHP - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/","og_locale":"en_US","og_type":"article","og_title":"Tutorial for Name Attribute in HTML for PHP - scmGalaxy","og_description":"What is Name Attribute? A set of attribute values plus an attribute identifier make up an attribute. The attribute identifier, [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/","og_site_name":"scmGalaxy","article_author":"https:\/\/www.facebook.com\/profile.php?id=100003935402658","article_published_time":"2021-09-01T08:57:38+00:00","article_modified_time":"2021-09-01T08:57:40+00:00","author":"Ashwani Kumar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ashwani Kumar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/"},"author":{"name":"Ashwani Kumar","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/19f28f8f969c1679bfb37d4dad6adc31"},"headline":"Tutorial for Name Attribute in HTML for PHP","datePublished":"2021-09-01T08:57:38+00:00","dateModified":"2021-09-01T08:57:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/"},"wordCount":279,"commentCount":0,"keywords":["HTML","name attribute","Name Attribute Used with","Php","Tutorial for Name Attribute","Tutorial for Name Attribute in HTML for PHP","What","What is Name Attribute"],"articleSection":["php"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/","name":"Tutorial for Name Attribute in HTML for PHP - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2021-09-01T08:57:38+00:00","dateModified":"2021-09-01T08:57:40+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/19f28f8f969c1679bfb37d4dad6adc31"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/tutorial-for-name-attribute-in-html-for-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Tutorial for Name Attribute in HTML for PHP"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/19f28f8f969c1679bfb37d4dad6adc31","name":"Ashwani Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b0fe597f4b8473400f95ce54bee0bdd62df08a319a198ad229b279aaab4f5410?s=96&d=mm&r=g","caption":"Ashwani Kumar"},"description":"There is no end to education. It is not that you read a book, pass an examination, and finish with education. The whole of life, from the moment you are born to the moment you die, is a process of learning.","sameAs":["https:\/\/www.facebook.com\/profile.php?id=100003935402658","https:\/\/www.instagram.com\/adarshashwani\/","https:\/\/www.linkedin.com\/in\/adarsh-ashwani-a75b23130\/"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/ashwani\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=8523"}],"version-history":[{"count":1,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8523\/revisions"}],"predecessor-version":[{"id":8587,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8523\/revisions\/8587"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=8523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=8523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=8523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}