UpTest > Mobile Technologies > Mobile Web Authoring Test

Test: Mobile Web Authoring Test

Question 33: Prev Next
If you want to center align the text of a paragraph, which of the following style rules will be applied?

<head>
  <style type="text/css">
________________________
  </style>
</head>
<body>
   <p id=abc>Text Here</p>
</body>
id:abc { text-align: center }
#abc { text-align: center }
*#abc { text-align: center }
h1#abc { text-align: center }
Please login to submit your answer.