All the content that you see rendered in the browser is contained within this element. Following tags and elements used in the body. : A body tag is used to enclose all the data which a web page has from texts to links. to tell compatibility of html with browser to store data about website, organisation ,ģ. = To add/ link css( cascading style sheet) file. = to store website name or content to be displayed. Note: for better understanding refer above code of html. Data stored in the tag is not displayed to the user, it is just written for reference purposes and as a watermark of the owner. Windows includes Notepad with each version of the operating system. : Head tag contains metadata, title, page CSS etc. However, you can use a plain text editor to create an HTML page. some of them are : es = Spanish, zh-Hans = Chinese, fr= french and el= Greek etc. In tag we use “lang” attributes to define languages of html page such as here en represents English language. tag is parent tag of and tag, other tags enclosed within and. It’s a biggest and main element in complete html language, all the tags, elements and attributes enclosed in it or we can say wrap init, which is used to structure a web page. This currently tells that the version is HTML 5.0 : This tag is used to tells the HTML version. Below is the complete explanation of each of the tags used in the above piece of HTML code: Html documents structured mentioned below:Įvery Webpage must contain this code. These attributes also help us to store information in meta tags by using name, content, and type attributes. width, height, controls, loops, input, and autoplay. Attributes are additional properties of html tags that define the property of any html tags. There are some variations with the tag some of them are self-closing tag which isn’t required to close and some are empty tag where we can add any attributes in it. Open your notepad on your computer Click file and select Save As. Open the folder that was created and create a new folder inside with the name html1 3. Tags and attributes: Tags are individuals of html structure, we have to open and close any tag with a forward slash like this. First, create a new folder with name HTML (customized) 2. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |