text-align property allows you to align text. The values can be
This is a paragraph that is aligned right. See how the text aligns to the right side of the containing element?
This is a paragraph that is aligned left. Notice that the text aligns to the left side of the containing element.
To control where an inline-element should appear, we can use the
vertical-align property. Some common inline-elements are:
Here are a list of inline element options you can use:
To control the indentation, we use the
text-indent property. It's common to use pixels or ems for the units. If we want to pull back the line, we can use a negative value.
This book teaches HTML as if it's for anyone - hobbyists, students, and professionals - and it's full-color throughout. It utilizes information graphics and lifestyle photography to explain the topics in a simple way that is engaging. You can progress through the chapters from beginning to end or just dip into topics of particular interest at your leisure.$ Check price
Relieve your stress, back, neck and sciatic pain through 1,782 acupuncture points for immediate neck pain relief. Made for lower, upper and mid chronic back pain treatment, and improves circulation, sleep, digestion and quality of life.$$ Check price