6.4. style Attribute The style attribute allows you to write inline CSS rules for an element.
Class Attributes in HTML5 (HTML-V17)
6.3. class Attribute The class attribute specifies one or more CSS classes for an HTML element. You can use multiple classes on a single el...
Title Attributes in HTML5 (HTML-V16)
6.2. title Attribute The title attribute provides a suggested title for an element. The syntax for the title attribute is similar to what w...
Id Attributes in HTML5 (HTML-V15)
6. Important Core Attributes The 4 core attributes that can be used on most HTML elements (though not all) are: id − used to give an elemen...
HTML Attributes in HTML5 (HTML-V14)
5. Attributes Every HTML tag can be modified or given additional characteristics using attributes. Think of attributes as extra information...
HTML Elements Case sensitive in HTML5 (HTML-V13)
4. Are HTML Elements Case-sensitive? HTML elements are not case-sensitive, which means we can write HTML elements in either uppercase or lo...
Empty Void elements in HTML5 (HTML-V12)
3. Special Case: Empty (Void) Elements HTML void elements are elements that do not need a closing tag . These tags have no content model , a...
Nested elements in HTML5 (HTML-V11)
Lesson 4: Elements & Attributes HTML elements are the basic building blocks for creating web pages. They are made up of an opening tag,...
Listing Tag in HTML5 (HTML-V10)
9. Listing Tags The <ul> and <ol> tags create unordered and ordered lists. Each item in a list goes inside an <li> tag....
Non breaking space in HTML5 (HTML-V9)
8. Non-breaking Spaces Non-breaking spaces stop the browser from automatically breaking a line at a space. They are written with the entity ...
Preserv Formatting Tag in HTML5 (HTML-V8)
7. Preserve Formatting Tag The <pre> tag is used to keep the original format. Whenever you want text on a web page to appear exactly...
Horizonal Rule Tag in HTML5 (HTML-V7)
6. Horizontal Rule Tag The <hr> tag is used to insert a horizontal line across the page. It is commonly used to separate different s...
Subscribe to:
Posts (Atom)
