HTML and CSS Reference
In-Depth Information
display:table-cell;
width:275px;
}
#profile {
display:table-cell;
background-color: #979C9C;
padding: 3px;
width:150px;
font-family:”Trebuchet MS”, Arial, Helvetica, sans-serif;
font-size:14px;
}
</
style
>
<
meta
http-equiv
=
“Content-Type”
content
=
“text/html;
charset
=
UTF-
8
”
>
<
title
>
Storage
</
title
>
</
head
>
<
body
>
<article>
<header>
<
h2
>
Hobby Registration
</
h2
>
</header>
<section>
<
form
name
=
“interest”
>
<
input
name
=userName placeholder=
“
Name
please”
>
Name
<
br
>
<
div
id
=
“hobbyTable”
>
<section
id
=
“getHobby”
>
<
fieldset
>
<
legend
>
What's Your Favorite Hobby?
</
legend
>
<
label
>
<
input
type
=radio
name
=hobby
value
=
“travel”
>
Travel
</
label
>
<
br
>
<
label
>
<
input
type
=radio n
ame
=hobby
value
=
“reading”
>
Reading
</
label
>
<
br
>
<
label
>
<
input
type
=radio
name
=hobby
value
=
“theater”
>
Theater
</
label
>
<
br
>
<
label
>
<
input
type
=radio name=hobby
value
=
“ballet”
>
Ballet
</
label
>
<
br
>
<
label
>
<
input
type
=radi
o
name
=hobby
value
=
“monster trucks”
>
Monster Truck Rallies
</
label
>
<
br
>
</
fieldset
>
</section>
</
div
>
<
input
type
=
text
name
=resState placeholder=
“Your state of residence”
>
318