The structure of HTML and some basic tags
The structure of HTML · The structure of HTML defined by a set of nested tags like html ,head and a body tag . What is tag? Tags are used to create elements, such as paragraphs, headings, links, images, and tables. It is made up of the pair < (less than sign)> (greater than sign). Most HTML tags have an opening tag and a closing tag. The closing tag has the same text as the opening tag, but with an extra forward-slash (/) character. Structure of html <html> <head><title> title </title></head> <body> </body> </html> Structure components <!DOCTYPE html> : Declares the document as an HTML document. <html> : It is the root element of an HTML page. <head> : It contains meta information about the page. <title> : Display the title of the page. <body...
Comments
Post a Comment