Title | Attribute Measurements & Align Attribute -HTML |
---|---|
Course | Web Design |
Institution | Full Sail University |
Pages | 2 |
File Size | 44.6 KB |
File Type | |
Total Downloads | 85 |
Total Views | 156 |
This set will go over attribute measurements, the align attribute, and how to use it....
Attribute Measurements
As an example, we can modify the horizontal line so it has a width of 50 pixels. This can be done by using the width attribute:
An element's width can also be defined using percentages:
An element's width can be defined using pixels or percentages.
The Align Attribute
The align attribute is used to specify how the text is aligned. In the example below, we have a paragraph that is aligned to the center, and a line that is aligned to the right.
Attributes
This is a text This is also a text.
You may be wondering what happens if you try to apply contradictory attributes within the same element. This is a text.
...