Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

autocapitalize html attribute

<!-- GLOBAL ATTRIBUTE -->
<input type="text" autocapitalize="on"/>

<!-- 
	To capitalize text a user types in an input

	VALUES
	'none' or 'off'    : no autocapitalization
	'sentence' or 'on' : first letter of each sentence
	'words'            : first letter of every word
	'characters'       : all letters

	DOESN'T WORK ON 
		<input type='email' />
		<input type='password' />
		<input type='url' />
-->
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #autocapitalize #html #attribute
ADD COMMENT
Topic
Name
8+5 =