{"id":8761,"date":"2015-12-07T16:15:12","date_gmt":"2015-12-07T14:15:12","guid":{"rendered":"http:\/\/www.webcodegeeks.com\/?p=8761"},"modified":"2018-01-08T13:27:22","modified_gmt":"2018-01-08T11:27:22","slug":"bootstrap-form-example","status":"publish","type":"post","link":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/","title":{"rendered":"Bootstrap Form Example"},"content":{"rendered":"<p>The aim of this example is to explain and use Bootstrap forms. Just as an introduction, a web form or HTML form on a web page allows a user to enter data that is sent to a server for processing.<\/p>\n<p>Forms can resemble paper or database forms because web users fill out the forms using checkboxes, radio buttons, or text fields.<\/p>\n<p>Bootstrap, just like other front-end frameworks, gives forms extra styling to enhance design and user experience while using them. Here, we&#8217;ll have a look at different variations of forms (meaning several input types from which a form is made up) and the necessary syntax to achieve this in Bootstrap.<br \/>\n&nbsp;<br \/>\n[ulp id=&#8217;57DHuNTHJ2qczaGz&#8217;]<\/p>\n<h2>1. Project Folder Setup<\/h2>\n<p>The following requirements are necessary to be present in order to continue.<\/p>\n<h3>1.1 Folder Structure<\/h3>\n<p>After downloading Bootstrap and creating a new empty HTML document, make sure you have the folder structure like this:<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-1.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-1.jpg\" alt=\"form-1\" width=\"820\" height=\"441\" class=\"aligncenter size-full wp-image-8764\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-1.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-1-300x160.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h3>1.2 HTML Document<\/h3>\n<p>Your HTML file should have all Bootstrap links and libraries needed, and the syntax shall basically look like this:<\/p>\n<pre class=\"brush:xml\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html lang=\"en\"&gt;\r\n  &lt;head&gt;\r\n    &lt;meta charset=\"utf-8\"&gt;\r\n    &lt;meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"&gt;\r\n    &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"&gt;\r\n    &lt;title&gt;Bootstrap Form Example&lt;\/title&gt;\r\n\r\n    &lt;!-- Bootstrap --&gt;\r\n    &lt;link href=\"css\/bootstrap.min.css\" rel=\"stylesheet\"&gt;\r\n  &lt;\/head&gt;\r\n  &lt;body&gt;\r\n\r\n    &lt;!-- jQuery (necessary for Bootstrap's JavaScript plugins) --&gt;\r\n    &lt;script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.11.3\/jquery.min.js\"&gt;&lt;\/script&gt;\r\n    &lt;!-- Include all compiled plugins (below), or include individual files as needed --&gt;\r\n    &lt;script src=\"js\/bootstrap.min.js\"&gt;&lt;\/script&gt;\r\n  &lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<h2>2. Basic Example<\/h2>\n<p>Individual form controls automatically receive some global styling. All textual &lt;input&gt;, &lt;textarea&gt;, and &lt;select&gt; elements with .form-control are set to width: 100%; by default. Wrap labels and controls in <code>.form-group<\/code> for optimum spacing. So a basic first example would be:<\/p>\n<pre class=\"brush:xml\">\r\n  &lt;form&gt;\r\n  &lt;div class=\"form-group\"&gt;\r\n    &lt;label for=\"exampleInputEmail1\"&gt;Email address&lt;\/label&gt;\r\n    &lt;input type=\"email\" class=\"form-control\" id=\"exampleInputEmail1\" placeholder=\"Email\"&gt;\r\n  &lt;\/div&gt;\r\n  &lt;div class=\"form-group\"&gt;\r\n    &lt;label for=\"exampleInputPassword1\"&gt;Password&lt;\/label&gt;\r\n    &lt;input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" placeholder=\"Password\"&gt;\r\n  &lt;\/div&gt;\r\n  &lt;div class=\"form-group\"&gt;\r\n    &lt;label for=\"exampleInputFile\"&gt;File input&lt;\/label&gt;\r\n    &lt;input type=\"file\" id=\"exampleInputFile\"&gt;\r\n    &lt;p class=\"help-block\"&gt;Example block-level help text here.&lt;\/p&gt;\r\n  &lt;\/div&gt;\r\n  &lt;div class=\"checkbox\"&gt;\r\n    &lt;label&gt;\r\n      &lt;input type=\"checkbox\"&gt; Check me out\r\n    &lt;\/label&gt;\r\n  &lt;\/div&gt;\r\n  &lt;button type=\"submit\" class=\"btn btn-default\"&gt;Submit&lt;\/button&gt;\r\n&lt;\/form&gt;\r\n<\/pre>\n<p>What you&#8217;d see in the browser is:<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-2.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-2.jpg\" alt=\"form-2\" width=\"820\" height=\"379\" class=\"aligncenter size-full wp-image-8767\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-2.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-2-300x139.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h2>3. Cases and Examples<\/h2>\n<p>The following section gives examples of Bootstrap&#8217;s varius form elements.<\/p>\n<h3>3.1 Inline Form<\/h3>\n<p>Add <code>.form-inline<\/code> to your form (which doesn&#8217;t have to be a &lt;form&gt;) for left-aligned and inline-block controls.<\/p>\n<pre class=\"brush:xml\">\r\n&lt;form class=\"form-inline\"&gt;\r\n  &lt;div class=\"form-group\"&gt;\r\n    &lt;label for=\"exampleInputName2\"&gt;Name&lt;\/label&gt;\r\n    &lt;input type=\"text\" class=\"form-control\" id=\"exampleInputName2\" placeholder=\"Name Here\"&gt;\r\n  &lt;\/div&gt;\r\n  &lt;div class=\"form-group\"&gt;\r\n    &lt;label for=\"exampleInputEmail2\"&gt;Email&lt;\/label&gt;\r\n    &lt;input type=\"email\" class=\"form-control\" id=\"exampleInputEmail2\" placeholder=\"name@example.com\"&gt;\r\n  &lt;\/div&gt;\r\n  &lt;button type=\"submit\" class=\"btn btn-default\"&gt;Send invitation&lt;\/button&gt;\r\n&lt;\/form&gt;\r\n<\/pre>\n<p>This would produce the following result in the browser window:<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-3.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-3.jpg\" alt=\"form-3\" width=\"820\" height=\"199\" class=\"aligncenter size-full wp-image-8769\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-3.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-3-300x73.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h3>3.2 Horizontal Form<\/h3>\n<p>Use Bootstrap&#8217;s predefined grid classes to align labels and groups of form controls in a horizontal layout by adding <code>.form-horizontal<\/code> to the form (which doesn&#8217;t have to be a &lt;form&gt;). Doing so changes <code>.form-groups<\/code> to behave as grid rows, so no need for <code>.row<\/code>.<\/p>\n<pre class=\"brush:xml\">\r\n&lt;form class=\"form-horizontal\"&gt;\r\n  &lt;div class=\"form-group\"&gt;\r\n    &lt;label for=\"inputEmail3\" class=\"col-sm-2 control-label\"&gt;Email&lt;\/label&gt;\r\n    &lt;div class=\"col-sm-10\"&gt;\r\n      &lt;input type=\"email\" class=\"form-control\" id=\"inputEmail3\" placeholder=\"Email\"&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n  &lt;div class=\"form-group\"&gt;\r\n    &lt;label for=\"inputPassword3\" class=\"col-sm-2 control-label\"&gt;Password&lt;\/label&gt;\r\n    &lt;div class=\"col-sm-10\"&gt;\r\n      &lt;input type=\"password\" class=\"form-control\" id=\"inputPassword3\" placeholder=\"Password\"&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n  &lt;div class=\"form-group\"&gt;\r\n    &lt;div class=\"col-sm-offset-2 col-sm-10\"&gt;\r\n      &lt;div class=\"checkbox\"&gt;\r\n        &lt;label&gt;\r\n          &lt;input type=\"checkbox\"&gt; Remember me\r\n        &lt;\/label&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n  &lt;div class=\"form-group\"&gt;\r\n    &lt;div class=\"col-sm-offset-2 col-sm-10\"&gt;\r\n      &lt;button type=\"submit\" class=\"btn btn-default\"&gt;Sign in&lt;\/button&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/form&gt;\r\n<\/pre>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-4.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-4.jpg\" alt=\"form-4\" width=\"820\" height=\"243\" class=\"aligncenter size-full wp-image-8771\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-4.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-4-300x89.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h3>3.3 Supported Controls<\/h3>\n<p>Examples of standard form controls supported in an example form layout.<\/p>\n<h4><strong>Inputs<\/strong><\/h4>\n<p>Most common form control, text-based input fields. Includes support for all HTML5 types: <code>text<\/code>, <code>password<\/code>, <code>datetime<\/code>, <code>datetime-local<\/code>, <code>date<\/code>, <code>month<\/code>, <code>time<\/code>, <code>week<\/code>, <code>number<\/code>, <code>email<\/code>, <code>url<\/code>, <code>search<\/code>, <code>tel<\/code>, and <code>color<\/code>.<\/p>\n<pre class=\"brush:xml\">\r\n&lt;!-- &lt;input type=\"text\" class=\"form-control\" placeholder=\"Text input\"&gt;\r\n<\/pre>\n<h4><strong>Textarea<\/strong><\/h4>\n<p>Form control which supports multiple lines of text. Change <code>rows<\/code> attribute as necessary.<\/p>\n<pre class=\"brush:xml\">\r\n&lt;textarea class=\"form-control\" placeholder=\"Textarea\" rows=\"3\"&gt;&lt;\/textarea&gt; --&gt;\r\n<\/pre>\n<p>These two elements look like this:<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-5.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-5.jpg\" alt=\"form-5\" width=\"820\" height=\"267\" class=\"aligncenter size-full wp-image-8774\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-5.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-5-300x98.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h4><strong>Checkboxes and Radios<\/strong><\/h4>\n<pre class=\"brush:xml\">\r\n&lt;div class=\"checkbox\"&gt;\r\n  &lt;label&gt;\r\n    &lt;input type=\"checkbox\" value=\"\"&gt;\r\n    Option one is this and that&mdash;be sure to include why it's great\r\n  &lt;\/label&gt;\r\n&lt;\/div&gt;\r\n&lt;div class=\"checkbox disabled\"&gt;\r\n  &lt;label&gt;\r\n    &lt;input type=\"checkbox\" value=\"\" disabled&gt;\r\n    Option two is disabled\r\n  &lt;\/label&gt;\r\n&lt;\/div&gt;\r\n\r\n&lt;div class=\"radio\"&gt;\r\n  &lt;label&gt;\r\n    &lt;input type=\"radio\" name=\"optionsRadios\" id=\"optionsRadios1\" value=\"option1\" checked&gt;\r\n    Option one is this and that&mdash;be sure to include why it's great\r\n  &lt;\/label&gt;\r\n&lt;\/div&gt;\r\n&lt;div class=\"radio\"&gt;\r\n  &lt;label&gt;\r\n    &lt;input type=\"radio\" name=\"optionsRadios\" id=\"optionsRadios2\" value=\"option2\"&gt;\r\n    Option two can be something else and selecting it will deselect option one\r\n  &lt;\/label&gt;\r\n&lt;\/div&gt;\r\n&lt;div class=\"radio disabled\"&gt;\r\n  &lt;label&gt;\r\n    &lt;input type=\"radio\" name=\"optionsRadios\" id=\"optionsRadios3\" value=\"option3\" disabled&gt;\r\n    Option three is disabled\r\n  &lt;\/label&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-6.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-6.jpg\" alt=\"form-6\" width=\"820\" height=\"191\" class=\"aligncenter size-full wp-image-8779\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-6.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-6-300x70.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h4><strong>Inline checkboxes and radios<\/strong><\/h4>\n<p>Use the <code>.checkbox-inline<\/code> or <code>.radio-inline<\/code> classes on a series of checkboxes or radios for controls that appear on the same line.<\/p>\n<pre class=\"brush:xml\">\r\n&lt;label class=\"checkbox-inline\"&gt;\r\n  &lt;input type=\"checkbox\" id=\"inlineCheckbox1\" value=\"option1\"&gt; 1\r\n&lt;\/label&gt;\r\n&lt;label class=\"checkbox-inline\"&gt;\r\n  &lt;input type=\"checkbox\" id=\"inlineCheckbox2\" value=\"option2\"&gt; 2\r\n&lt;\/label&gt;\r\n&lt;label class=\"checkbox-inline\"&gt;\r\n  &lt;input type=\"checkbox\" id=\"inlineCheckbox3\" value=\"option3\"&gt; 3\r\n&lt;\/label&gt;\r\n&lt;br\/&gt;&lt;br\/&gt;\r\n&lt;label class=\"radio-inline\"&gt;\r\n  &lt;input type=\"radio\" name=\"inlineRadioOptions\" id=\"inlineRadio1\" value=\"option1\"&gt; 1\r\n&lt;\/label&gt;\r\n&lt;label class=\"radio-inline\"&gt;\r\n  &lt;input type=\"radio\" name=\"inlineRadioOptions\" id=\"inlineRadio2\" value=\"option2\"&gt; 2\r\n&lt;\/label&gt;\r\n&lt;label class=\"radio-inline\"&gt;\r\n  &lt;input type=\"radio\" name=\"inlineRadioOptions\" id=\"inlineRadio3\" value=\"option3\"&gt; 3\r\n&lt;\/label&gt;\r\n<\/pre>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-7.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-7.jpg\" alt=\"form-7\" width=\"820\" height=\"143\" class=\"aligncenter size-full wp-image-8784\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-7.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-7-300x52.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h4><strong>Selects<\/strong><\/h4>\n<p>Note that many native select menus\u2014namely in Safari and Chrome\u2014have rounded corners that cannot be modified via <code>border-radius<\/code> properties.<\/p>\n<pre class=\"brush:xml\">\r\n&lt;select class=\"form-control\"&gt;\r\n  &lt;option&gt;1&lt;\/option&gt;\r\n  &lt;option&gt;2&lt;\/option&gt;\r\n  &lt;option&gt;3&lt;\/option&gt;\r\n  &lt;option&gt;4&lt;\/option&gt;\r\n  &lt;option&gt;5&lt;\/option&gt;\r\n&lt;\/select&gt;\r\n\r\n&lt;select multiple class=\"form-control\"&gt;\r\n  &lt;option&gt;1&lt;\/option&gt;\r\n  &lt;option&gt;2&lt;\/option&gt;\r\n  &lt;option&gt;3&lt;\/option&gt;\r\n  &lt;option&gt;4&lt;\/option&gt;\r\n  &lt;option&gt;5&lt;\/option&gt;\r\n&lt;\/select&gt;\r\n<\/pre>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-8.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-8.jpg\" alt=\"form-8\" width=\"820\" height=\"305\" class=\"aligncenter size-full wp-image-8786\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-8.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-8-300x112.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h3>3.4 Static Control<\/h3>\n<p>When you need to place plain text next to a form label within a form, use the <code>.form-control-static<\/code> class on a <code>&lt;p&gt;<\/code>.<\/p>\n<pre class=\"brush:xml\">\r\n&lt;form class=\"form-horizontal\"&gt;\r\n  &lt;div class=\"form-group\"&gt;\r\n    &lt;label class=\"col-sm-2 control-label\"&gt;Email&lt;\/label&gt;\r\n    &lt;div class=\"col-sm-10\"&gt;\r\n      &lt;p class=\"form-control-static\"&gt;email@example.com&lt;\/p&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n  &lt;div class=\"form-group\"&gt;\r\n    &lt;label for=\"inputPassword\" class=\"col-sm-2 control-label\"&gt;Password&lt;\/label&gt;\r\n    &lt;div class=\"col-sm-10\"&gt;\r\n      &lt;input type=\"password\" class=\"form-control\" id=\"inputPassword\" placeholder=\"Password\"&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/form&gt;\r\n<\/pre>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-9.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-9.jpg\" alt=\"form-9\" width=\"820\" height=\"219\" class=\"aligncenter size-full wp-image-8789\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-9.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-9-300x80.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h3>3.5 Readonly State<\/h3>\n<p>Add the <code>readonly<\/code> boolean attribute on an input to prevent modification of the input&#8217;s value. Read-only inputs appear lighter (just like disabled inputs), but retain the standard cursor:<\/p>\n<pre class=\"brush:xml\">\r\n&lt;input class=\"form-control\" type=\"text\" placeholder=\"Readonly input here\u2026\" readonly&gt;\r\n<\/pre>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-10.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-10.jpg\" alt=\"form-10\" width=\"820\" height=\"171\" class=\"aligncenter size-full wp-image-8791\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-10.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-10-300x63.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h3>3.6 Validation States<\/h3>\n<p>Bootstrap includes validation styles for error, warning, and success states on form controls. To use, add <code>.has-warning<\/code>, <code>.has-error<\/code>, or <code>.has-success<\/code> to the parent element. Any <code>.control-label<\/code>, <code>.form-control<\/code>, and <code>.help-block<\/code> within that element will receive the validation styles.<\/p>\n<pre class=\"brush:xml\">\r\n&lt;div class=\"form-group has-success has-feedback\"&gt;\r\n  &lt;label class=\"control-label\" for=\"inputSuccess2\"&gt;Input with success&lt;\/label&gt;\r\n  &lt;input type=\"text\" class=\"form-control\" id=\"inputSuccess2\" aria-describedby=\"inputSuccess2Status\"&gt;\r\n  &lt;span class=\"glyphicon glyphicon-ok form-control-feedback\" aria-hidden=\"true\"&gt;&lt;\/span&gt;\r\n  &lt;span id=\"inputSuccess2Status\" class=\"sr-only\"&gt;(success)&lt;\/span&gt;\r\n&lt;\/div&gt;\r\n&lt;div class=\"form-group has-warning has-feedback\"&gt;\r\n  &lt;label class=\"control-label\" for=\"inputWarning2\"&gt;Input with warning&lt;\/label&gt;\r\n  &lt;input type=\"text\" class=\"form-control\" id=\"inputWarning2\" aria-describedby=\"inputWarning2Status\"&gt;\r\n  &lt;span class=\"glyphicon glyphicon-warning-sign form-control-feedback\" aria-hidden=\"true\"&gt;&lt;\/span&gt;\r\n  &lt;span id=\"inputWarning2Status\" class=\"sr-only\"&gt;(warning)&lt;\/span&gt;\r\n&lt;\/div&gt;\r\n&lt;div class=\"form-group has-error has-feedback\"&gt;\r\n  &lt;label class=\"control-label\" for=\"inputError2\"&gt;Input with error&lt;\/label&gt;\r\n  &lt;input type=\"text\" class=\"form-control\" id=\"inputError2\" aria-describedby=\"inputError2Status\"&gt;\r\n  &lt;span class=\"glyphicon glyphicon-remove form-control-feedback\" aria-hidden=\"true\"&gt;&lt;\/span&gt;\r\n  &lt;span id=\"inputError2Status\" class=\"sr-only\"&gt;(error)&lt;\/span&gt;\r\n&lt;\/div&gt;\r\n&lt;div class=\"form-group has-success has-feedback\"&gt;\r\n  &lt;label class=\"control-label\" for=\"inputGroupSuccess1\"&gt;Input group with success&lt;\/label&gt;\r\n  &lt;div class=\"input-group\"&gt;\r\n    &lt;span class=\"input-group-addon\"&gt;@&lt;\/span&gt;\r\n    &lt;input type=\"text\" class=\"form-control\" id=\"inputGroupSuccess1\" aria-describedby=\"inputGroupSuccess1Status\"&gt;\r\n  &lt;\/div&gt;\r\n  &lt;span class=\"glyphicon glyphicon-ok form-control-feedback\" aria-hidden=\"true\"&gt;&lt;\/span&gt;\r\n  &lt;span id=\"inputGroupSuccess1Status\" class=\"sr-only\"&gt;(success)&lt;\/span&gt;\r\n<\/pre>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-11.jpg\"><img decoding=\"async\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-11.jpg\" alt=\"form-11\" width=\"820\" height=\"415\" class=\"aligncenter size-full wp-image-8793\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-11.jpg 820w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/form-11-300x152.jpg 300w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n<h2>4. Conclusion<\/h2>\n<p>To conclude, forms are important HTML elements (but not only) which are given a lot of styles by Bootstrap. Forms and their various elements have a default size (i.e. width and height). If you want a smaller or bigger size, include respective classes <code>.input-sm<\/code> and <code>.input-lg<\/code> to change the size. Forms can also be customized in a few other ways not mentioned here, but you can find these (and a lot more) in the official Bootstrap site.<\/p>\n<h2>5. Download<\/h2>\n<div class=\"download\"><strong>Download<\/strong><br \/>\nYou can download the full source code of this example here: <a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/Boostrap-Form-Example.zip\"><strong>Boostrap Form Example<\/strong><\/a>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The aim of this example is to explain and use Bootstrap forms. Just as an introduction, a web form or HTML form on a web page allows a user to enter data that is sent to a server for processing. Forms can resemble paper or database forms because web users fill out the forms using &hellip;<\/p>\n","protected":false},"author":75,"featured_media":8515,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[284],"tags":[],"class_list":["post-8761","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bootstrap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Bootstrap Form Example - Web Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"The aim of this example is to explain and use Bootstrap forms. Just as an introduction, a web form or HTML form on a web page allows a user to enter data\" \/>\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.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bootstrap Form Example - Web Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"The aim of this example is to explain and use Bootstrap forms. Just as an introduction, a web form or HTML form on a web page allows a user to enter data\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webcodegeeks\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/fabiocimo\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-07T14:15:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-08T11:27:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Fabio Cimo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fabiocimo\" \/>\n<meta name=\"twitter:site\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fabio Cimo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/\"},\"author\":{\"name\":\"Fabio Cimo\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/1dfb88b4a8d08c37a6080311fd330a22\"},\"headline\":\"Bootstrap Form Example\",\"datePublished\":\"2015-12-07T14:15:12+00:00\",\"dateModified\":\"2018-01-08T11:27:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/\"},\"wordCount\":594,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg\",\"articleSection\":[\"Bootstrap\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/\",\"name\":\"Bootstrap Form Example - Web Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg\",\"datePublished\":\"2015-12-07T14:15:12+00:00\",\"dateModified\":\"2018-01-08T11:27:22+00:00\",\"description\":\"The aim of this example is to explain and use Bootstrap forms. Just as an introduction, a web form or HTML form on a web page allows a user to enter data\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#primaryimage\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webcodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CSS\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/css\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Bootstrap\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/css\/bootstrap\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Bootstrap Form Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"name\":\"Web Code Geeks\",\"description\":\"Web Developers Resource Center\",\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webcodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webcodegeeks\",\"https:\/\/x.com\/webcodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/1dfb88b4a8d08c37a6080311fd330a22\",\"name\":\"Fabio Cimo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b3df055f2e1b62e238889fafbb16121c68aab1adcd11af670e185cafae201b3b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b3df055f2e1b62e238889fafbb16121c68aab1adcd11af670e185cafae201b3b?s=96&d=mm&r=g\",\"caption\":\"Fabio Cimo\"},\"description\":\"Fabio is a passionate student in web tehnologies including front-end (HTML\/CSS) and web design. He likes exploring as much as possible about the world wide web and how it can be more productive for us all. Currently he studies Computer Engineering, at the same time he works as a freelancer on both web programming and graphic design.\",\"sameAs\":[\"https:\/\/www.facebook.com\/fabiocimo\",\"https:\/\/al.linkedin.com\/in\/fabiocimo\",\"https:\/\/x.com\/fabiocimo\",\"https:\/\/www.youtube.com\/fabiocimo1\"],\"url\":\"https:\/\/www.webcodegeeks.com\/author\/fabio-cimo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bootstrap Form Example - Web Code Geeks - 2026","description":"The aim of this example is to explain and use Bootstrap forms. Just as an introduction, a web form or HTML form on a web page allows a user to enter data","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.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/","og_locale":"en_US","og_type":"article","og_title":"Bootstrap Form Example - Web Code Geeks - 2026","og_description":"The aim of this example is to explain and use Bootstrap forms. Just as an introduction, a web form or HTML form on a web page allows a user to enter data","og_url":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/","og_site_name":"Web Code Geeks","article_publisher":"https:\/\/www.facebook.com\/webcodegeeks","article_author":"https:\/\/www.facebook.com\/fabiocimo","article_published_time":"2015-12-07T14:15:12+00:00","article_modified_time":"2018-01-08T11:27:22+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg","type":"image\/jpeg"}],"author":"Fabio Cimo","twitter_card":"summary_large_image","twitter_creator":"@fabiocimo","twitter_site":"@webcodegeeks","twitter_misc":{"Written by":"Fabio Cimo","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#article","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/"},"author":{"name":"Fabio Cimo","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/1dfb88b4a8d08c37a6080311fd330a22"},"headline":"Bootstrap Form Example","datePublished":"2015-12-07T14:15:12+00:00","dateModified":"2018-01-08T11:27:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/"},"wordCount":594,"commentCount":1,"publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg","articleSection":["Bootstrap"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/","url":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/","name":"Bootstrap Form Example - Web Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#primaryimage"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg","datePublished":"2015-12-07T14:15:12+00:00","dateModified":"2018-01-08T11:27:22+00:00","description":"The aim of this example is to explain and use Bootstrap forms. Just as an introduction, a web form or HTML form on a web page allows a user to enter data","breadcrumb":{"@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#primaryimage","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2015\/11\/bootstrap-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.webcodegeeks.com\/css\/bootstrap\/bootstrap-form-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webcodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"CSS","item":"https:\/\/www.webcodegeeks.com\/category\/css\/"},{"@type":"ListItem","position":3,"name":"Bootstrap","item":"https:\/\/www.webcodegeeks.com\/category\/css\/bootstrap\/"},{"@type":"ListItem","position":4,"name":"Bootstrap Form Example"}]},{"@type":"WebSite","@id":"https:\/\/www.webcodegeeks.com\/#website","url":"https:\/\/www.webcodegeeks.com\/","name":"Web Code Geeks","description":"Web Developers Resource Center","publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webcodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webcodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.webcodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webcodegeeks","https:\/\/x.com\/webcodegeeks"]},{"@type":"Person","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/1dfb88b4a8d08c37a6080311fd330a22","name":"Fabio Cimo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b3df055f2e1b62e238889fafbb16121c68aab1adcd11af670e185cafae201b3b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b3df055f2e1b62e238889fafbb16121c68aab1adcd11af670e185cafae201b3b?s=96&d=mm&r=g","caption":"Fabio Cimo"},"description":"Fabio is a passionate student in web tehnologies including front-end (HTML\/CSS) and web design. He likes exploring as much as possible about the world wide web and how it can be more productive for us all. Currently he studies Computer Engineering, at the same time he works as a freelancer on both web programming and graphic design.","sameAs":["https:\/\/www.facebook.com\/fabiocimo","https:\/\/al.linkedin.com\/in\/fabiocimo","https:\/\/x.com\/fabiocimo","https:\/\/www.youtube.com\/fabiocimo1"],"url":"https:\/\/www.webcodegeeks.com\/author\/fabio-cimo\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/8761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/comments?post=8761"}],"version-history":[{"count":0,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/8761\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media\/8515"}],"wp:attachment":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media?parent=8761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/categories?post=8761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/tags?post=8761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}