+ 2
How to display a line with text in html?
Like this: -------------this is text------------ but this code does not have continuous line <html> <head> <title>Attributes</title> </head> <body> <p align="center">This is a text <br /> <hr width="10%" align="right" /> This is also a text. </p> </body> </html>
1 Réponse
+ 9
...
<style>
.ib {
display: inline-block;
vertical-align: middle;
width: 10%;
}
</style>
...
<p><hr class="ib">TEXT<hr class="ib">Another text</p>