Posts

Image
HTML File Paths An HTML file path is used to describe the location of a file in a website folder. File paths are like an address of file for a web browser. We can link any external resource to add in our HTML file with the help of file paths such as images, file, CSS style sheet file, JavaScript file, video, etc. The src or href attribute requires an attribute to link any external source to HTML file. Different types to specify file paths: <img src="picture.jpg">  It specifies that picture.jpg is located in the same folder as the current page. <img src="images/picture.jpg">  It specifies that picture.jpg is located in the images folder in the current folder. <img src="/images/picture.jpg">  It specifies that picture.jpg is located in the images folder at the root of the current web. <img src="../picture.jpg">  It specifies that picture.jpg is located in the folder one level up from the current folder. There are two types
Tags of HTML With description Basic HTML Tag Description <!DOCTYPE> Defines the document type <html> Defines an HTML document <title> Defines a title for the document <body> Defines the document’s body <h1> to <h6> Defines HTML headings <p> Defines a paragraph <br> Inserts a single line break <hr> Defines a thematic change in the content <!–…–> Defines a comment Formatting Tag Description <acronym> Not supported in HTML5. Use <abbr> instead. Defines an acronym <abbr> Defines an abbreviation or an acronym <address> Defines contact information for the author/owner of a document/article <b> Defines bold text <bdi> Isolates a part of text that might be formatted in a different direction from other text outside it <bdo> Overrides the current text direction <big> Not supported in HTML5. Use CSS instead. Defines big text <blockquote> Defines a section that is quoted from another s