The basic structure of an HTML document includes tags, which encircle content and apply meaning to it.
<!DOCTYPE html>
<html>
<body>
This is my first web page
</body>
</html>
Now save the program again, go back to the web browser and refresh the page.
The
display of the page will not have changed at all, but the purpose of
HTML is to fix meaning, not presentation, and this example has now
defined some basic things of a web page.
List of some tags are as follows.
- Heading Tags
- Paragraph Tag
- Line Break Tag
- Centering Content
- Horizontal Lines
Element.
An HTML element is defined by a starting tag.If the element consist other content, it ends with a closing tag.
Elements are the bits that design web pages.
That everything that is in between the
<body> and </body> tags is the body element.
There are a list of some elements.
- Document Elements
- Body Elements
- Style and Appearance Elements
- Anchor Element: Links and Named Targets
- Image Element
- List Elements
- Other Elements

Blogger Comment
Facebook Comment