Chapter 18mChallenge

HTML Editors — Challenge

HTML Editor തിരഞ്ഞെടുക്കാനും, ആദ്യ HTML File സൃഷ്ടിക്കാനും, ശരിയായ രീതിയിൽ Save ചെയ്യാനും, Browser-ൽ Web Page കാണാനും പഠിക്കാം. Notepad, TextEdit, Visual Studio Code എന്നിവ ഉപയോഗിച്ചുള്ള ഘട്ടം ഘട്ടമായുള്ള നിർദ്ദേശങ്ങൾ അറിയുക.

This content is not yet available in ml. Showing English version.

View in English →

Format HTML code using indentation

easy

Write the following HTML structure with proper indentation: a body containing a div, and inside the div an h2 element with the text "About Us".

Test cases (4)
1 · body-element
expected: <body>
2 · div-element
expected: <div>
3 · heading-text
expected: <h2>About Us</h2>
4 · closing-tagshidden
Hint
Indent nested elements with spaces so the parent-child structure is easy to read.
html
Loading editor...