what is HTML write the basic Syntax of the HTML code
Answers
Q) What is HTML?
ANS)
- HTML stands for Hyper Text Markup Language.
- It is the most basic language.
- To become a web developer you have to know HTML.
Q) Write the basic syntax of HTML.
ANS)
<html>
<head>
<title>Basic Syntax Of Html | Nishchay</title>
</head>
<body>
</body>
<footer>
</footer>
</html>
Answer:
HTML is a hypertext markup language used to create web pages. Here is the basic structure.
Here is the basic syntax of HTML
<!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!