HTML5 article Element

The name itself is quite self explanatory, but let’s see how the official documentation describe it: “A self-contained composition in a document, page, application, or site and that is, in principle, independently distributive or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, … Continue reading HTML5 article Element


The html img tag

The <img> tag is used to insert an image. It contains only attributes, and does not have a closing tag. The image's URL (address) can be defined using the src attribute. The HTML image syntax looks like this: <img src="picture.png" alt="logo"/> <!DOCTYPE html> <html lang="en"> <head> <title> My html page</title> <metacharset="UTF-8"> </head> <body> <p align="right">This … Continue reading The html img tag

HTML Attributes

Attributes provide additional information about an element or a tag, while also modifying them. Most attributes have a value; the value modifies the attribute. <!DOCTYPE html> <html lang="en"> <head> <title> My html page</title> <meta charset="UTF-8"> </head> <body> <palign="right">This text is alinged to right</p> </body> </html> In this example, the value of "right" indicates that the … Continue reading HTML Attributes