Which of the following is correct H1 tag for Right Alignment
निम्न में से कौन H1 टैग दायें संरेखण(Right Alignment) के लिए सही है
Select one:
a. H1 cannot make Right Alignment
H1 cannot make Right Alignment
b. <h1 tag align = "right"> ... </h1>
<h1 tag align = "right"> ... </h1>
c. <h1 align = "right"> ...
<h1 align = "right"> ...
d. <h1 alignment = "right"> ...
<h1 alignment = "right"> ...
Answers
Answer:
Options d is answer.
Explanation:
Hope it is helpful for you
Answer:
Option (c) <h1 align=”right”> is correct
Explanation:
What is <h1> tag?
In HTML, <h1> is used to define headings in a webpage. <h1> to <h6> are the heading tags used in HTML. <h1> is used for the most important headings in a webpage with a larger size. <h6> tag is used for the least important heading in a webpage. It is an empty tag. That is, it requires both an opening tag and a closing tag in the element.
Eg: <h1> Heading 1 </h1>
Align attribute in <h1> tag:
Attributes are used to define properties for a tag. Attributes are mentioned in the opening tag of an element.
Align attribute in <h1> tag is used to define the alignment of content in a webpage. It can have values left, right, center, and justify.
- Left – It sets the content to left align. The default alignment is left.
- Right - It sets the content to right.
- Center – It sets the content to the center of the page.
- Justify – It sets the content to justify alignment.
This attribute is not supported in HTML5.
Eg: <h1 align=”right”> Heading </h1>
The other options given:
a) “H1 cannot make right alignment” is not correct. H1 can make the right alignments in a webpage.
b) "<h1 tag align=”right”>….</h1>" is not correct. We don’t need to mention <h1 tag>. Instead, <h1> is the correct form.
d) "<h1 alignment=”right”>" Is not correct. There is no such attribute. Alignment is specified using the ‘align’ attribute.
Learn more about Tags and attributes:
https://brainly.in/question/6419596
Learn more about Align attributes:
https://brainly.in/question/7906656