Chapter 18mChallenge
HTML Editors in Hindi — Challenge
हिन्दी में HTML Editors सीखें। Notepad, TextEdit और VS Code से HTML File बनाना, Save करना और Browser में Open करना Examples सहित जानें।
Create a complete HTML web page
easyCreate a complete HTML document using <!DOCTYPE html>, <html>, <head>, and <body> elements. Set the page title to "My First Website" using the <title> element. Inside the <body>, add an <h1> heading displaying "Hello World" and a <p> paragraph displaying "This is my first web page."
Test cases (4)
1 · doctype
expected: <!DOCTYPE html>
2 · page_title
expected: <title>My First Website</title>
3 · main_heading
expected: <h1>Hello World</h1>
4 · paragraph
expected: <p>This is my first web page.</p>
Hint
A complete HTML page uses <!DOCTYPE html> to declare the document type. The <title> element inside <head> sets the browser tab title. The <h1> and <p> elements inside <body> display the page heading and paragraph.
html
Loading editor...