Chapter 18mChallenge
HTML Editors in Kannada — Challenge
ಕನ್ನಡದಲ್ಲಿ HTML Editors ಕಲಿಯಿರಿ. Notepad, TextEdit ಮತ್ತು VS Code ಬಳಸಿ HTML File ರಚಿಸುವುದು, Save ಮಾಡುವುದು ಮತ್ತು Browser ನಲ್ಲಿ Open ಮಾಡುವುದನ್ನು ತಿಳಿಯಿರಿ.
Format HTML code using indentation
easyWrite 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...