Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
84 views
in General by (110k points)
closed by

Identify the attribute name in the following HTML statement.

<p align = “left">final examination</p>


1. left
2. <p> and </p>
3. align
4. final examination

1 Answer

0 votes
by (105k points)
selected by
 
Best answer
Correct Answer - Option 3 : align

 Alignment:

It is possible to align block elements (tables, images, objects, paragraphs, etc.) on the canvas with the align element. Although this attribute may be set for many HTML elements, its range of possible values sometimes differs from element to element. Here we only discuss the meaning of the align attribute for text.

Attribute definitions:

align = left|center|right|justify

Possible values:

  • left: text lines are rendered flush left.
  • center: text lines are centered.
  • right: text lines are rendered flush right.
  • justify: text lines are justified to both margins.

The default depends on the base text direction. For left to right text, the default is align=left, while for the right to left text, the default is align=right.

<p align = “left">final examination</p>

Hence it is a align attribute. And the output of the above statement is the final examination. 

Hence the correct answer is align.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...