HTML is a markup language not a programming language. Because programming languages have decision making feature.
About HTML:-
About HTML:-
- HTML full name is Hyper Text Markup Language.
- HTML is case insensitive language.
- HTML uses markup tags to define a web page.
- Currently using HTML 5.
- HTML file has a extension .htm or .html
- HTML is developed by World Wide Web consortium.
Prerequisites:-
- No need of any programming background.
- You need a web browser installed on your machine and a text editor like notepad.
- Web browser are Internet Explorer, Mozilla firefox, chrome etc.
How Write HTML Codes:-
- You need to open notepad, open a new file and write HTML code in it.
- Save it with .html extension.
- Execute the file with any browser.
- You can reopen HTML file with notepad to make any edition.
- An HTML element is an individual component of an HTML document.
- It starts with a start tag / opening tag and ends with an end tag / closing tag.
- The element content is everything between the start and end tag.
- Most HTML elements can have attributes.
- All HTML documents must start with a type declaration: <!DOCTYPE html>
<HTML>
<HEAD>
<BODY>
<HTML> TAG:-
- The root element of an HTML document. All other elements are contained in this.
- The HTML element delimits the beginning and the end of an HTML document.
<HEAD> TAG:-
- Container for processing information and metadata for an HTML document.
Some description
<BODY> TAG:-
- Container for the displayable content of an document.
Format:-
<html>
<head>
place processing information and meta data here.
</head>
<body>
Place displayable content here
</body>
</html>
If you want to write comments then
<!-- write comment -->
No comments:
Post a Comment