How to specify the HTML content of the page to show in the in HTML?
Answers
Answered by
0
Answer:
<!DOCTYPE html>
<html>
<head>
<title>My Webpage Title</title>
</head>
<body>
<h1>My first heading</h1>
<body>
</html>
Explanation:
You need a code editor like Visual Studio Code / Sublime Text Editor etc to write HTML code. You can save the code above in a file name index.html.
Then, open this file index.html in your web browser like Chrome / Firefox / Safari. You will see the result in your browser.
Here is a good explanation with example :
https://codewithrasbin.com/html-for-beginners-course-lesson-4-how-to-display-some-content-on-web-page/
Hope this helps!
Similar questions
Hindi,
6 months ago
English,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Social Sciences,
1 year ago
Math,
1 year ago