{"id":242,"date":"2007-09-18T00:00:00","date_gmt":"2007-09-18T00:00:00","guid":{"rendered":"http:\/\/www.strongd.net\/?p=242"},"modified":"2007-09-18T00:00:00","modified_gmt":"2007-09-18T00:00:00","slug":"XHTML MP Input Elements","status":"publish","type":"post","link":"https:\/\/www.strongd.net\/?p=242","title":{"rendered":"XHTML MP Input Elements"},"content":{"rendered":"<p><P><FONT class=mainText>Like HTML, XHTML MP provides numerous input element types for obtaining data from users. The following input element types are available in XHTML MP:<\/FONT><\/P><br \/><OL><br \/><LI><br \/><P><FONT class=mainText>Text field<\/FONT><\/P><br \/><LI><br \/><P><FONT class=mainText>Password field<\/FONT><\/P><br \/><LI><br \/><P><FONT class=mainText>Checkbox<\/FONT><\/P><br \/><LI><br \/><P><FONT class=mainText>Radio button<\/FONT><\/P><br \/><LI><br \/><P><FONT class=mainText>Hidden field<\/FONT><\/P><\/LI><\/OL><br \/><P>&nbsp;<\/P><br \/><P><FONT class=mainText>All of the above input elements are created with the &lt;input&gt; element. To send the user data to the server, the &lt;input&gt; element has to be used in conjunction with the &lt;form&gt; element. The &lt;form&gt; element will be mentioned in more detail later at the &#8220;<A href=\"http:\/\/www.strongd.net\/blog\/show\/240\">Sending Data to the Server in XHTML MP<\/A>&#8221; section.<\/FONT><\/P><br \/><P><FONT class=mainText>The <I>type<\/I> attribute of the &lt;input&gt; element defines the input element type in XHTML MP.<\/FONT><\/P><br \/><P><FONT class=mainText>The <I>name<\/I> attribute of the &lt;input&gt; element specifies the name of the input element. The name will be used to retrieve the user data at the server.<\/FONT><\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Like HTML, XHTML MP provides numerous input element types for obtaining data from users. The following input element types are available in XHTML MP:Text fieldPassword fieldCheckboxRadio buttonHidden field&nbsp;All of the above input elements are created with the &lt;input&gt; element. To send the user data to the server, the &lt;input&gt; element has to be used in &hellip; <a href=\"https:\/\/www.strongd.net\/?p=242\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">XHTML MP Input Elements<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-242","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=242"}],"version-history":[{"count":0,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/242\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}