Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <style> .title { display: block; border-top: 5px solid #969696; background-color: #76db95; height: 30px; line-height: 30px; padding: 4px 6px; font-size: 16px; color: #000000; margin-bottom: 13px; clear: both; } .title .date { float: right; } .title .name { float: left; } </style> </head> <body> <div class="title"> <span class="name">Example</span> <span class="date">05.05.2020</span> </div> </body> </html>