In html, write the text"India is a republic country and we are indians."text should be underlined with center alignment
Answers
Answered by
3
Answer:
This is the required HTML c∅de for the given question.
<!DOCTYPE html>
<html>
<head>
<title>HTML</title>
<meta charset="UTF-8"/>
</head>
<body>
<u>
<p align=center>
India is a republic country and we are indians.
<p>
<u>
</body>
</html>
Note:
- To make the text underlined, the <u> tag is used.
- To make the text alignment center, i have written the text inside <p> tag and then changed the alignment using align attribute.
See the attachment for output ☑.
Attachments:
Similar questions
English,
28 days ago
Math,
28 days ago
India Languages,
28 days ago
Computer Science,
1 month ago
Sociology,
1 month ago
English,
8 months ago