diff --git a/docs/html/forms/form-attributes.md b/docs/html/forms/form-attributes.md index 8949aede2..bae0e7ea8 100644 --- a/docs/html/forms/form-attributes.md +++ b/docs/html/forms/form-attributes.md @@ -114,6 +114,99 @@ The `novalidate` attribute specifies that the form should not be validated when +## The `name` Attribute + +The name attribute specifies the name of the form. This name can be used to reference the form in JavaScript. + + + + ```html +
+ + + + + +
+ ``` +
+ + +
+
+ + + + + +
+
+
+
+
+ +## The `target` Attribute + +The target attribute specifies where to display the response after submitting the form. Common values include `_self`, `_blank`, `_parent`, and `_top`. + + + + ```html +
+ + + + + +
+ ``` +
+ + +
+
+ + + + + +
+
+
+
+
+ +## The `rel` Attribute + +The rel attribute specifies the relationship between the current document and the linked document. It is often used in conjunction with the `target` attribute. + + + + ```html +
+ + + + + +
+ ``` +
+ + +
+
+ + + + + +
+
+
+
+
+ ## Other Form Attributes Here are other form attributes you can use in HTML: @@ -124,37 +217,37 @@ Here are other form attributes you can use in HTML: Description - action + action Specifies where to send the form-data when a form is submitted - autocomplete + autocomplete Specifies whether a form should have autocomplete on or off - enctype + enctype Specifies how the form-data should be encoded when submitting it to the server (only for method="post") - method + method Specifies the HTTP method to use when sending form-data - name + name Specifies the name of the form - novalidate + novalidate Specifies that the form should not be validated when submitted - rel + rel Specifies the relationship between a linked resource and the current document - target + target Specifies where to display the response that is received after submitting the form diff --git a/docs/html/forms/form-input-elements.md b/docs/html/forms/form-input-elements.md index 89ef936bb..fcd089cff 100644 --- a/docs/html/forms/form-input-elements.md +++ b/docs/html/forms/form-input-elements.md @@ -168,9 +168,10 @@ The `` element displays a field where the user can enter +## Input elements Example - ```html + ```html {3,4,6,8,11,13,14,15}
@@ -184,7 +185,7 @@ The `` element displays a field where the user can enter - +
```