+ 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>

14th Jun 2018, 7:06 AM
‎‏‪‏‪‏‪Vinícius dos Reis Lobo Silva‬‏‬‏‬‏‎
‎‏‪‏‪‏‪Vinícius dos Reis Lobo Silva‬‏‬‏‬‏‎ - avatar
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>
14th Jun 2018, 7:35 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 12
Hm? Can you share link?
18th Jun 2018, 9:20 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 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.
13th Jul 2018, 9:19 AM
‎‏‪‏‪‏‪Vinícius dos Reis Lobo Silva‬‏‬‏‬‏‎
‎‏‪‏‪‏‪Vinícius dos Reis Lobo Silva‬‏‬‏‬‏‎ - avatar
+ 2
The code wrote is a lesson’s code my dear. Is It wrong?
18th Jun 2018, 1:36 AM
‎‏‪‏‪‏‪Vinícius dos Reis Lobo Silva‬‏‬‏‬‏‎
‎‏‪‏‪‏‪Vinícius dos Reis Lobo Silva‬‏‬‏‬‏‎ - avatar
+ 2
<hr> tag is not aligned
23rd Jun 2018, 9:20 AM
Alex
Alex - avatar