Employers
Jobseekers
Recruiting Partners
HTMLCSSJavaScriptTypeScriptReactAngularVueNode.jsPHPjQueryBootstrapSassDjangoAngularJSASPRWDSVGCanvasGraphicsColorsIconsAppMLPythonJavaCC++C#GoRustKotlinSwiftRBashData StructuresSQLMySQLPostgreSQLMongoDBJSONXMLNumPyPandasMatplotlibSciPyStatisticsData ScienceMachine LearningArtificial IntelligenceExcelGitCyber SecurityRaspberry PiHow ToTyping SpeedSpaces

HTML Tutorial

  • HTML Introduction
  • HTML Editors
  • HTML Basic
  • HTML Elements
  • HTML Attributes
  • HTML Headings
  • HTML Paragraphs
  • HTML Styles
  • HTML Formatting
  • HTML Comments
    • Images
    • Image Map
    • Background Images
    • Picture Element
  • HTML Block & Inline
  • HTML Classes
  • HTML Id
  • HTML Layout
  • HTML Responsive
  • HTML Semantics

HTML Forms

  • HTML Forms
  • HTML Form Attributes
  • HTML Form Elements
  • HTML Input Types
  • HTML Input Attributes
  • HTML Input Form Attributes

HTML Examples

  • HTML Editor
  • HTML Exercises
  • HTML Quiz

HTML Background Images

Any element can show an image behind its content.

Set a background image with the CSS background-image property, and pair it with background-size to control how it scales.

A background image

<!DOCTYPE html>
<html>
<body>

<div style="background-image:url('bg.jpg'); background-size:cover;">
  Content over an image
</div>

</body>
</html>

Keep Going

HTML Interview QuestionsPractice real questions asked for HTMLFrontend Developer SalarySee what Frontend Developer roles pay in the marketAuto Apply for JobsApply to open roles related to HTML and tweak your resume