Attribute Measurements & Align Attribute -HTML PDF

Title Attribute Measurements & Align Attribute -HTML
Course Web Design
Institution Full Sail University
Pages 2
File Size 44.6 KB
File Type PDF
Total Downloads 55
Total Views 162

Summary

This set of notes cover the Align Attribute and Attribute Measurments....


Description

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.

...


Similar Free PDFs