+ 4
What happens here?
I run the code that follows this question but It not clear like crystal to me one thing: when the align attribute goes inside the <p> start tag, this makes the whole content of the paragraph align to the center? because running some texts does not look like that I guess, because after the break line tag the measurement that have your own align attribute and “This is also a text.” goes align in the left. It happens because of the break line tag? <body> <p align="center">This is a text <br /> <hr width="10%" align="right" /> This is also a text. </p> </body>
5 Respostas
+ 14
The <hr> tag should not be aligned like this, try spliting your content in 2 <p>'s , remove <br> and keep <hr> outside them.
<body>
<p align="center">This is a text</p>
<hr width="10%"/>
<p align="center">This is also a text.</p>
</body>
+ 12
Hm? Can you share link?
+ 3
Reviewing my lessons I found the place, but know I get It, It is a contradictory attributes and the break line breaks the universe created by the attribute. Thanks all very much for try to help me.
HTML Fundamentals>Attributes>Fiveth lesson.
+ 2
The code wrote is a lesson’s code my dear. Is It wrong?
+ 2
<hr> tag is not aligned