HTML <input> formtarget Attribute

Example A form with two submit buttons, with different target windows: <form action=”/action_page.php”> First name: <input type=”text” name=”fname”><br> Last name: <input type=”text” name=”lname”><br> <input type=”submit” value=”Submit as normal”> <input type=”submit” formtarget=”_blank” value=”Submit to a new window”> </form> Try it Yourself » Definition and Usage The formtarget attribute specifies a name or a keyword that indicates where to display the response that is received after submitting the form. […]

HTML <input> formnovalidate Attribute

Example A form with two submit buttons (with and without validation): <form action=”/action_page.php”> E-mail: <input type=”email” name=”userid”><br> <input type=”submit” value=”Submit”><br> <input type=”submit” formnovalidate=”formnovalidate” value=”Submit without validation”> </form> Try it Yourself » Definition and Usage The novalidate attribute is a boolean attribute. When present, it specifies that the <input> element should not be validated when submitted. The formnovalidate attribute overrides the novalidate attribute of the <form> element. […]

HTML <input> formmethod Attribute

Example The second submit button overrides the HTTP method of the form: <form action=”/action_page.php” method=”get”> First name: <input type=”text” name=”fname”><br> Last name: <input type=”text” name=”lname”><br> <input type=”submit” value=”Submit”> <input type=”submit” formmethod=”post” value=”Submit using POST”> </form> Try it Yourself » Definition and Usage The formmethod attribute defines the HTTP method for sending form-data to the action URL. The formmethod attribute overrides the method attribute of the <form> element. Note: The formmethod attribute […]

HTML <input> formenctype Attribute

Example Send form-data that is default encoded (the first submit button), and encoded as “multipart/form-data” (the second submit button): <form action=”/action_page_binary.asp” method=”post”> First name: <input type=”text” name=”fname”><br> <input type=”submit” value=”Submit”> <input type=”submit” formenctype=”multipart/form-data” value=”Submit as Multipart/form-data”> </form> Try it Yourself » Definition and Usage The formenctype attribute specifies how the form-data should be encoded when submitting it to the server (only for forms with method=”post”) […]

HTML <input> formaction Attribute

Example An HTML form with two submit buttons, with different actions: <form action=”/action_page.php”> First name: <input type=”text” name=”fname”><br> Last name: <input type=”text” name=”lname”><br> <input type=”submit” value=”Submit”><br> <input type=”submit” formaction=”/action_page2.php” value=”Submit to another page”> </form> Try it Yourself » Definition and Usage The formaction attribute specifies the URL of the file that will process the input control when the form is submitted. The formaction attribute overrides the action attribute of […]

HTML <input> form Attribute

Example An input field located outside the HTML form (but still a part of the form): <form action=”/action_page.php” id=”form1″> First name: <input type=”text” name=”fname”><br> <input type=”submit” value=”Submit”> </form>Last name: <input type=”text” name=”lname” form=”form1″> Try it Yourself » Definition and Usage The form attribute specifies one or more forms the <input> element belongs to. Browser Support The numbers in the table specify the first browser version that […]

HTML <input> disabled Attribute

Example An HTML form with a disabled input field: <form action=”/action_page.php”> First name: <input type=”text” name=”fname”><br> Last name: <input type=”text” name=”lname” disabled><br> <input type=”submit” value=”Submit”> </form> Try it Yourself » Definition and Usage The disabled attribute is a boolean attribute. When present, it specifies that the <input> element should be disabled. A disabled input element is unusable and un-clickable. The disabled attribute can be set […]

HTML <input> dirname Attribute

Example An HTML form where the field’s text direction will be submitted: <form action=”/action_page.php”> First name: <input type=”text” name=”fname” dirname=”fname.dir”> <input type=”submit” value=”Submit”> </form> Try it Yourself » Definition and Usage The dirname attribute enables the submission of the text direction of the input field The dirname attribute’s value is always the name of the input field, followed by “.dir”. Browser Support […]

HTML <input> checked Attribute

Example An HTML form with a pre-selected checkbox: <form action=”/action_page.php”> <input type=”checkbox” name=”vehicle” value=”Bike”> I have a bike<br> <input type=”checkbox” name=”vehicle” value=”Car” checked> I have a car<br> <input type=”submit” value=”Submit”> </form> Try it Yourself » Definition and Usage The checked attribute is a boolean attribute. When present, it specifies that an <input> element should be pre-selected (checked) when the page loads. The checked attribute can be used […]

HTML <input> autofocus Attribute

Example Let the “First name” input field automatically get focus when the page loads: <form action=”/action_page.php”> First name: <input type=”text” name=”fname” autofocus><br> Last name: <input type=”text” name=”lname”><br> <input type=”submit”> </form> Try it Yourself » Definition and Usage The autofocus attribute is a boolean attribute. When present, it specifies that an <input> element should automatically get focus when the page loads. Browser Support The numbers […]

HTML <input> autocomplete Attribute

Example An HTML form with autocomplete on (and off for one input field): <form action=”/action_page.php” autocomplete=”on”> First name:<input type=”text” name=”fname”><br> Last name: <input type=”text” name=”lname”><br> E-mail: <input type=”email” name=”email” autocomplete=”off”><br> <input type=”submit”> </form> Try it Yourself » Definition and Usage The autocomplete attribute specifies whether or not an input field should have autocomplete enabled. Autocomplete allows the browser to predict the value. When a user starts to […]

HTML <input> alt Attribute

Example An HTML form with an image that represents the submit button: <form action=”/action_page.php”> First name: <input type=”text” name=”fname”><br> <input type=”image” src=”submit.gif” alt=”Submit” width=”48″ height=”48″> </form> Try it Yourself » Definition and Usage The alt attribute provides an alternate text for the user, if he/she for some reason cannot view the image (because of slow connection, an error in the src attribute, or if […]

HTML <input> accept Attribute

Example Specify that the server accepts only image files in the file upload: <form action=”/action_page.php”> <input type=”file” name=”pic” accept=”image/*”> <input type=”submit”> </form> Try it Yourself » Definition and Usage The accept attribute specifies the types of files that the server accepts (that can be submitted through a file upload). Note: The accept attribute can only be used with <input type=”file”>. Tip: Do […]

HTML <u> Tag

Example Underline a misspelled word with the <u> tag: <p>This is a <u>parragraph</u>.</p> Try it Yourself » Definition and Usage The <u> tag represents some text that should be stylistically different from normal text, such as misspelled words or proper nouns in Chinese. Browser Support Element <u> Yes Yes Yes Yes Yes Tips and Notes Tip: Avoid […]

HTML DOM Caption Object

Caption Object The Caption object represents an HTML <caption> element. Access a Caption Object You can access a <caption> element by using getElementById(): Example var x = document.getElementById(“myCaption”); Try it Yourself » Create a Caption Object You can create a <caption> element by using the document.createElement() method: Example var x = document.createElement(“CAPTION”); Try it Yourself » Tip: You […]

HTML <a> type Attribute

Example The type attribute specifies the media type of the linked document: <a href=”https://dwfaisalabad.com” type=”text/html”>dwfaisalabad</a> Try it Yourself » Definition and Usage The type attribute specifies the Internet media type (formerly known as MIME type) of the linked document. This attribute is only used if the href attribute is set. Note: This attribute is purely advisory. Differences Between […]

HTML <a> media Attribute

Example A link with a media attribute: <a href=”https://dwfaisalabad.com?output=print” media=”print and (resolution:300dpi)”> Open media attribute page for print.</a> Try it Yourself » Definition and Usage The media attribute specifies what media/device the linked document is optimized for. This attribute is used to specify that the target URL is designed for special devices (like iPhone) , speech […]

SPSS OMS Tutorial – Creating Data from Output

SPSS OMS (short for Output Management System) can convert your output to SPSS datasets. As we’ll demonstrate in a minute, this can save you huge amounts of time, effort and frustration. We recommend you follow along by downloading and opening course_evaluation.sav, part of which is shown below. Today’s Challenge Some client wants to see charts holding correlations of […]

Connection – Samsung PC Studio 3.1

Connecting Phone to PC PC Studio connects a Samsung Electronics Phone (called the “Phone” hereinafter) to your PC, and provides various functions to manage the Phone data on your PC. The Phone can be connected to the PC using four different connection types: USB, Bluetooth, Infrared or Serial. The connection type supported may vary depending […]

Samsung PC Studio 3.1 User’s Guide

Samsung PC Studio is a Windows-based PC programme package that you can use easily to manage personal data and multimedia files by connecting a Samsung Mobiles to your PC. The system requirements for Samsung PC Studio are as follows. Windows 2000 or XP family At least 300MB of free disk space Interface devices such as […]