πŸ“Š HTML
Q. Which of the following is correct to align H1 tag to Right Alignment
  • (A) <h1 align = "right"> … </h1>
  • (B) <h1 alignment = "right"> … </h1>
  • (C) <h1 tag align = "right"> … </h1>
  • (D) H1 cannot make Right Alignment
πŸ’¬ Discuss
βœ… Correct Answer: (A) <h1 align = "right"> … </h1>

Explanation: align is used for alignment of text in any div, heading, paragraph (which are block element).

Note- Align doesn't work in inline element.

Explanation by: Mr. Dubey
align is used for alignment of text in any div, heading, paragraph (which are block element).

Note- Align doesn't work in inline element.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
250
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
97%
Success Rate