HTML Introduction #html1
HTML stands for Hypertext Markup Language. It used to write Web Pages.
HTML is a markup language and makes use of various tags to format the content.
You can use a simple text editor (like notepad) to run HTML code,
Let's take an example...
Copy this code to notepad and save it with .html extension (like ... firstprogram.html) and open. It will open in a browser.
congratulations, you have run your first code in HTML 😃😃😃
Tag explain
This element defines a paragraph
HTML is a markup language and makes use of various tags to format the content.
You can use a simple text editor (like notepad) to run HTML code,
Let's take an example...
<!DOCTYPE html>
<html>
<head>
<title>Welcome to tutorialroad</title>
</head>
<body>
<p>
You successfully write your first HTML code.....
</p>
You successfully write your first HTML code.....
</p>
</body>
</html>
Copy this code to notepad and save it with .html extension (like ... firstprogram.html) and open. It will open in a browser.
congratulations, you have run your first code in HTML 😃😃😃
Tag explain
- <!DOCTYPE...>
This tag defines the document type and HTML version.
- <html>
element is the root element of an HTML page
- <head>
This tag represents the document's header which can keep other
- <body>
This element contains the visible page content
- <p>
This element defines a paragraph
Comments
Post a Comment