All language subtitles for 2. HTML Forms 2

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese Download
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

I want to introduce you to one last form element and it's actually not an input with a type, as we've

described before, it's a little bit different. but the idea is still the same.

So let's add "Cars:" here and we want this to be a drop-down menu. Again, something that we see very often

in form fields.

However, unlike an input tag, we have to do a ‘select’ tag, needs a ‘/select’ tag as well.

And within here, we can put in our options.

So the option will be, will have a value of "volvo" not "volco" and we'll say "Volvo" because we want that

actually printed to the screen.

And again we have to close that tag. We'll add

"Audi"

and we'll close that tag as well and we can keep adding them.

But for now, just two is fine.

If I save this and I refresh, we have cars, let's add a ‘br’ tag here.

Just so it looks nicer.

There you go.

And here now, we have a dropdown menu.

Let's say you want to extend this or you want to see what kind of properties, you can put with select

the way you go about it.

As you know we've done this before, we type in "html select tag" and actually Google gives you a nice little

info page over here with attributes, so you can see over here, we can use "multiple", which is "specifies

that multiple options can be selected at once".

So, let's do that, let's let's minimize this. perfect. and within select, we'll put "multiple". we refresh, and

we can actually select multiple elements.

But that doesn't look that pretty. So I'm going to take that out [deletes "multiple" from ‘select’ tag] and refresh.

I actually realized that, we forgot one important input type. So I'm going to throw it in there as a

bonus.

And as you know with any registration form we want a password.

So let's add that right after the email.

We'll do.

input

type and yes there is a "password" type that we can add and this "password" type will have another attribute

that's kind of cool and that is "min", which is how many, the minimum characters that a password needs.

Ok. So let's, save that, refresh and let's add a ‘br’ tag here.

So, it looks pretty, refresh.

And now the password field, look at that, it acts like a password field.

All right.

Let's submit this form and see what happens.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.