Ans 5
Ans 5
Properties Values
background-attachment scroll, fixed
background-color (color), transparent
background-image none, (location)
background-position (percent), (length), top, center, bottom, left,
center, right
Color (color)
Properties Values
margin-bottom (length), (percent), auto
margin-left (length), (percent), auto
margin-right (length), (percent), auto
margin-top (length), (percent), auto
margin Any of the above margin values in top, right, bottom, left order
separated by spaces.
padding-bottom (length), (percent)
padding-left (length), (percent)
padding-right (length), (percent)
padding-top (length), (percent)
SVKM’s NMIMS
Mukesh Patel School of Technology Management & Engineering
Program: B.Tech Cyber security/ IT MBA.Tech IT
padding Any of the above padding values in top, right, bottom, left
order separated by spaces.
border-bottom-width medium, thin, thick, (length)
border-bottom Any of the border-top-bottom, border-color and border-style values.
border-color (color)
border-left-width medium, thin, thick, (length)
border-left Any of the border-top-left, border-color and border-style values.
border-right-width medium, thin, thick, (length)
border-right Any of the border-right-width, border-color and border-style values.
border-style none, dotted, dashed, solid, double, groove, ridge, inset, outset
border-top-width medium, thin, thick, (length)
border-top Any of the border-top-width, border-color and border-style values.
border Any of the border values. Applies to all borders.
height auto, (length), (percent)
width auto, (length), (percent)
list-style-type disc, circle, square, decimal, lower-roman, upper-roman, lower-alpha,
upper-alpha, upper-latin, hebrew, armenian, georgian, cjk-ideographic,
hiragana, katakana, hiragana-iroha, katakana-iroh, none
list-style-image none, (url)
list-style-position outside, inside
Properties Values
list-style Any of the above list-style values separated by spaces.
white-space normal, pre, nowrap
border-collapse collapse, separate, inherit
border-spacing (length)(length), inherit
caption-side top, bottom, left, right, inherit
empty-cells show, hide, inherit
SVKM’s NMIMS
Mukesh Patel School of Technology Management & Engineering
Program: B.Tech Cyber security/ IT MBA.Tech IT
1. Design a navigation bar in a web page using HTML and CSS using external CSS.
SVKM’s NMIMS
Mukesh Patel School of Technology Management & Engineering
Program: B.Tech Cyber security/ IT MBA.Tech IT