HTML STRUCTURE CHEATSHEET
This cheatsheet will be help me you in your learning process and you can use it as many as you need it when you feel stuck.
TAG | NAME | DESCRIPTION |
---|---|---|
< a > | Anchor Element | The < a > anchor elemnet is used to create hyperlinks in an HTML document |
< head > | Head Element | The < head > elemnet contains general information about an HTML page that isn't displayed on the page itself. this information is called metadata and includes things like the title of the HTML document and links to stylesheet |
< video > | Video Element | The < video > element embeds a media player for video playback. . The SRC attribute will contain the URL to the video. Adding the CONTROLS attribute will display video controls in the media player |
< title > | Title Element | The < title > element contains a text that defines the title of an HTML document. The title is displayed in the browser's title bar or tab in in which the HTML page is displayed |
< !DOCTYPE html > | Document Type Declaration | The document type documentation < !DOCTYPE html > is required as the first line of an HTML document. The doctype declaration is an instruction to the browser about what type of document to expect and which version of HTML is being used |
TAG | NAME | DESCRIPTION |
---|---|---|
class | Class Attribute | Specifies one or more classnames for an alement (refers to a class in a style sheet) |
dir | Direction Attribute | Specifies the text direction for the content in an element |
id | Unique ID Attribute | In HTML, specific and unique id attribute can be assigned to different elements in order to differentiate between them |