HTML: Align Tag

  • Center – Aligns the whole text to the center of the web page ……….. align = “center”.
  • Left – Aligns the whole text to the left side of the web page …………. align = “left”.
  • Right – Aligns the whole text to the right side of the web page ……….. align = “right”.
  • Justify – Justifies the whole text and also indents the first line ………… align = “justify”.
  • With Heading <h1 align =”right”> ……….. </h1>.
  • With paraggraph <p align =”right”> ……… </p>.
  • With Horizontal Rule <hr align =”right”>.
Tagged : / / / / / / /