Answers for "page divider in html"

0

or separator css

<----------------------------- HTML ----------------------------------->
<div class="separator"></div>

<----------------------------- CSS ----------------------------------->
.separator {
    width: 100%;
    border-bottom: solid 1px;
    position: relative;
    margin: 30px 0px;
}

.separator::before {
    content: "OR";
    position: absolute;
    left: 47%;
    top: -8px;
    background-color: #fff;
    padding: 0px 10px;
}
Posted by: Guest on August-27-2020
0

how to divide a web page in html

<!DOCTYPE  html>
<html>
    <head>
        <title>My First Webpage</title>
    </head>
    <body>
        <p> Hello I am a paragraph </p>
    </body>
</html>

Visit the source for more clear understanding.
Posted by: Guest on August-09-2021

Browse Popular Code Answers by Language