html-css Interview Questions

Beginner Level10 questions
strong/em = Semantic meaning; b/i = Visual style only.
Inline, Internal, and External CSS.
link = Resource connection; <a> = Navigation.
background-image: url('path');
font-family property.
Units relative to 1% of screen height/width.
Opacity = Whole element; RGBA = Specific background/color.
href for URL, target for opening destination.
block, inline, inline-block, none.
Submission + Page Reload.
Intermediate Level12 questions
Relative = self offset; Absolute = parent offset.
none = No space; hidden = Keeps space.
Use 0 dimensions and large borders.
Fixed = static viewport; Sticky = sticks on scroll.
Tools for moving, spinning, and resizing.
display: flex + center alignment.
Input grouping via <form> tag.
Inline attributes or JS listeners.
Semantics, multimedia, and storage.
States in @keyframes + animation property.
Grouping, descendant, and child selectors.
CSS3 added modern styling and layout tools.
Advanced Level10 questions
defer in head or end of body.
Tags that provide meaning to content.
Maximum priority override.
Multimedia tags with source children.
Plugin-free web and standardized APIs.
Ranking of CSS selector weight.
Multiple images in one file to save requests.
Content + Padding + Border + Margin.
Vertical stacking (layering) of elements.
iframe = Embed external sites; video = Play local/streamed video.