Introduction to HTML | Basics | Tags | Attributes | Web Dev Guide Series Part 3 and 4
Here we go with another part of web dev guide series 😉
What is HTML?
★ HTML stand for HyperText Markup Language
★ "hypertext" refers to the linking of text with other documents
★ “markup language” refers to a language that uses a set of tags.
★ HTML is the linking of text with other documents using some set of tags
What is tags and elements?
★ Text enclosed between angular brackets is Tag
★ HTML elements are everthing which includes tags and content
How to create file?
★ go to file explorer and create new folder 📁 by the name of your website or whatever you like
★ then open that folder -- right click -- new file -- name the file 'index.html'
★ Here people do make mistakes in extension so make sure you enable show extension
★ to open file in code editor just right click -- click on open with vs code
★ to open file in browser just right click -- open with Google Chrome
**If you are not getting this option than you are probably doing some mistakes so do Google it :)
What is attribute?
★ Attributes provide an additional information about the elements
★ Attributes are always specified in the start tag
★ Attributes usually come in name/value pairs like: name="value"
Types of tag?
★ There are 2 types of tag... Empty tag and Container tag
Container tags...
★ Container tags are generally divided into three parts, i.e., opening tag, content(which will display on the browser), and closing tag. In the content part, they can also contain some other tags.
★ These opening and closing tags are used in pairs which are start tag and end tag, which is often called ON and OFF tags.
★ If you forget to close the container tag, the browser applies the effect of the opening tag until the end of the page.
★ So be careful while working with container tags. The majority of tags present in HTML are container tags.
Empty tags...
★ The tags that do not contain any closing tags are known as empty tags.
★ Empty tags contain only the opening tag but they perform some action in the webpage.
Thanks for reading :)
#html #attributes #webdevguideseries #elements
Watch video Introduction to HTML | Basics | Tags | Attributes | Web Dev Guide Series Part 3 and 4 online without registration, duration hours minute second in high quality. This video was added by user Ayush shah 10 October 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3 once and liked it people.