Attibutes
HTML attributes helps to provide some meaning and context to the elements. Some of the
global attributes used in HTML 5 elements are as follows:
- Class – Specifies class names for an element.
- Context menu – Specifies the context menu for an element.
- Dir – Specifies the direction of the text present for the content.
- Draggable – Specifies the draggable function of an element.
- Dropzone – Specifies whether the data when dragged is copied, moved, or linked,when dropped.
- Style – Specifies the inline CSS style for an element.
- Title – Specifies additional information about the element.
Entiis are special characters that are reserved in HTML. These entiis can be displayed on
a HTML5 Web site using the following syntax:
a HTML5 Web site using the following syntax:
Syntax
No comments: