HTML Example:-
<!DOCTYPE html>
<html>
<head>
<title>A Simple HTML Document</title>
</head>
<body>
<h1>My First heading</h1>
<p>My First paragraph.</p>
</body>
</html>
Description of HTML Example:-
- DOCTYPE: It defines the document type.
- html : Text between html tag describes the web document.
- head : Text between head tag contains meta information about the document.
- title : Text between title tag specifies a title for the document.
- body : Text between body tag describes the body content of the page that is visible to the end user.
- h1 : Text between h1 tag describes the heading of the webpage.
- p :Text between p tag describes the paragraph of the webpage.
This HTML document will produce the following result –
html paragraph examples
ReplyDeleteBlockquote p before blockquote p after