HTML Code how to do create a HTML
Answers
Answered by
3
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!
Answered by
3
- Open Notepad (PC).
- Write Some HTML (see attachment).
- Save the HTML Page.
- Name the file "index.html" and set the encoding to UTF-8 (which is the preferred encoding for HTML files).
- View the HTML Page in Your Browser.
Attachments:
Similar questions
Computer Science,
6 months ago
English,
6 months ago
Math,
6 months ago
Physics,
1 year ago
English,
1 year ago