Code Challenges
Code challenges for HTML. Each challenge links to its lesson page where you can solve it with live code execution.
35 challenges · 4 lessons01introduction
9 challenges"Welcome to HTML" text દર્શાવતું HTML <p> element લખો.easy<!DOCTYPE html>, <html>, <head> અને <body> elements નો ઉપયોગ કરીને એક basic HTML5 document લખો. <title> element નો ઉપયોગ કરીને page title "My Website" રાખો.easy"https://example.com" સાથે લિંક થાય અને "Visit Website" text દર્શાવે એવું HTML <a> element લખો.easy"About HTML" દર્શાવતું HTML <h1> element અને "HTML structures web pages." દર્શાવતું <p> element લખો.easyએક HTML <img> element લખો જેમાં src ની value "photo.jpg" અને alt ની value "A beautiful landscape" હોય.easy<ul> અને <li> elements નો ઉપયોગ કરીને "HTML" અને "CSS" નામના બે items ધરાવતી HTML unordered list લખો.easy"https://www.example.com" સાથે લિંક થાય અને "Open Example" text દર્શાવે એવું HTML <a> element લખો.easy"My First Page" text દર્શાવતું એક HTML <h1> element લખો.easyએક complete HTML page લખો જેમાં <h1> heading "Welcome" અને <p> paragraph "Hello World" હોય.medium
02HTML Editors
6 challengesનીચેનું HTML structure યોગ્ય indentation સાથે લખો: body ની અંદર div અને તે div ની અંદર "About Us" text ધરાવતું h2 element.easy<!DOCTYPE html>, <html>, <head> અને <body> tags નો ઉપયોગ કરીને Basic HTML Document Structure લખો.easyAnchor element પૂર્ણ કરો જેથી તે https://example.com સાથે link થાય અને "Visit Website" text દર્શાવે.easy<body> element ની અંદર "Welcome to HTML" દર્શાવતું <h1> element અને "I am learning HTML." દર્શાવતું <p> element લખો.easy<!DOCTYPE html>, <html>, <head> અને <body> elements નો ઉપયોગ કરીને એક Complete HTML Document બનાવો. <title> element નો ઉપયોગ કરીને Page Title "My First Website" સેટ કરો. <body> ની અંદર "Hello World" દર્શાવતું <h1> Heading અને "This is my first web page." દર્શાવતું <p> Paragraph ઉમેરો.easyનીચેના HTML code માં ખોટો closing tag છે. સાચા closing tag સાથે તેને ફરીથી લખો: <strong>Important Notice</p>easy
03HTML Basic
10 challenges"Learning HTML" text ધરાવતું HTML <p> element લખો.easy<h1> વાપરીને Heading બનાવો.easyબે અલગ Paragraphs બનાવો.easy"Example Website" text સાથે https://www.example.com પર જતું <a> element બનાવો.easysrc="logo.png" અને alt="Company logo" ધરાવતું <img> element લખો.easyhttps://www.example.com માટે Hyperlink બનાવો.mediumઅર્થપૂર્ણ alt Text સાથે Image ઉમેરો.mediumThematic break ઉમેરતું HTML element લખો.easy"Submit" text દર્શાવતું <button> element બનાવો.easyTitle, ત્રણ Headings, ત્રણ Paragraphs, એક Link, એક Image, એક Thematic Break અને એક Button ધરાવતું Complete HTML Page બનાવો.challenge
04HTML Elements
10 challenges"Welcome to HTML" text દર્શાવતું એક HTML <h1> element લખો.easy"My First Page" text દર્શાવતું HTML <h1> element લખો.easy"HTML is easy to learn." text દર્શાવતું એક HTML <p> element લખો.easy"Welcome to HTML" text દર્શાવતું HTML <p> element લખો.easy"Visit Google" text દર્શાવતું અને href attribute નો ઉપયોગ કરીને "https://www.google.com" સાથે link કરતું HTML <a> element લખો.easy"Visit Google" text દર્શાવતું અને "https://www.google.com" સાથે link કરતું HTML <a> element લખો.easy"photo.jpg" માંથી image દર્શાવતું અને "A beautiful flower" alt text ધરાવતું HTML <img> element લખો.easy"photo.jpg" માંથી image દર્શાવતું અને alt text તરીકે "My Photo" નો ઉપયોગ કરતું HTML <img> element લખો.medium<ul> અને <li> elements નો ઉપયોગ કરીને ત્રણ items ધરાવતી HTML unordered list લખો: "HTML", "CSS" અને "JavaScript".easy<ul> અને <li> elements નો ઉપયોગ કરીને ત્રણ items ધરાવતી HTML unordered list લખો: "HTML", "CSS" અને "JavaScript".medium