Computer Science, asked by panav3708, 10 months ago

How to specify the HTML content of the page to show in the in HTML?

Answers

Answered by rasbinsoundlines
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