Ad
  • Home
  • Forums
  • COMPUTER
  • 💻 Coding & Programming

Closed Basic HTML

  • Thread starter Thread starter Palmeras
  • Start date Start date Sep 27, 2021
Status
Not open for further replies.
Prev
  • 1
  • 2
First Prev 2 of 2
TS
TS
P

Palmeras

Forum Guru
  • Sep 27, 2021
  • #21
Lathan said:
try mo palitan container mo ng ganito:


.container {
padding: 25px;
background-color: grey;
width: 300px;
margin: auto;
}
Click to expand...
1632722742102.png

ganito lumabas eh
 
L

Lathan

Forum Guru
  • Sep 27, 2021
  • #22
Palmeras said:
View attachment 1638117

ganito lumabas eh
Click to expand...
may bago akong sinend na code, copy mo yun boss
 
  • Love
Reactions: Palmeras
TS
TS
P

Palmeras

Forum Guru
  • Sep 27, 2021
  • #23
teapotpot said:
View attachment 1638470

HTML:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> Login Page </title>
<style>
Body {
  font-family: Calibri, Helvetica, sans-serif;
  background-color: black;
}
button {
       background-color: #000000;
        color: white;
        padding: 15px;
        margin: 10px 0px;
        border: none;
        cursor: pointer;
         }
 form {
       
    }
 input[type=text], input[type=password] {
        width: 100%;
        margin: 8px 0;
        padding: 12px 20px;
        display: inline-block;
        border: 2px solid green;
        box-sizing: border-box;
    }
 button:hover {
        opacity: 0.7;
    }
  .cancelbtn {
        width: auto;
        padding: 10px 18px;
        margin: 10px 5px;
    }
   
 
 .container {
        width:400px;
        max-width: 100%;
        padding: 25px;
        background-color: grey;
        border: 3px solid #f1f1f1;
        margin-inline: auto;
    }

 .container > button:nth-child(6) {
      display: block;
      width: 100%;
  }
 

 
</style>
</head>
<body>
    <center> <h1 style="color: white;"> Sino ka ba? </h1> </center>

    <form>
        <div class="container">
            <label>Username : </label>
            <input type="text" placeholder="Enter Username" name="username" required>
            <label>Password : </label>
            <input type="password" placeholder="Enter Password" name="password" required>
            <input type="checkbox"> Show Password
            <button type="submit">Login</button>
            <input type="checkbox" checked="checked"> Remember me
            <button type="button" class="cancelbtn"> Cancel</button>
            Forgot <a href="#"> password? </a>
        </div>
    </form>
</body>
</html>
Click to expand...
Maraming salamat sir
 
Reactions: teapotpot
TS
TS
P

Palmeras

Forum Guru
  • Sep 27, 2021
  • #24
Lathan said:
may bago akong sinend na code, copy mo yun boss
Click to expand...
salamat ssob
 
L

Lathan

Forum Guru
  • Sep 27, 2021
  • #25
Palmeras said:
salamat ssob
Click to expand...
HTML:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> Login Page </title>
<style>
Body {
  font-family: Calibri, Helvetica, sans-serif;
  background-color: black;
}
button {
       background-color: #000000;
       width: 100%;
        color: white;
        padding: 15px;
        margin: 10px 0px;
        border: none;
        cursor: pointer;
         }
 form {
        border: 3px solid #f1f1f1;
        width: 350px;
        margin: auto;
    }
 input[type=text], input[type=password] {
        width: 100%;
        margin: 8px 0;
        padding: 12px 20px;
        display: inline-block;
        border: 2px solid green;
        box-sizing: border-box;
    }
 button:hover {
        opacity: 0.7;
    }
  .cancelbtn {
        width: auto;
        padding: 10px 18px;
        margin: 10px 5px;
    }
    
 
 .container {
        padding: 25px;
        background-color: grey;
        width: 300px;
        margin: auto;
    }
</style>
</head>
<body>
    <h1 style="color: white; text-align: center;"> Sino ka ba? </h1>

    <form>
        <div class="container">
            <label>Username : </label>
            <input type="text" placeholder="Enter Username" name="username" required>
            <label>Password : </label>
            <input type="password" placeholder="Enter Password" name="password" required>
            <button type="submit">Login</button>
            <input type="checkbox" checked="checked"> Remember me
            <button type="button" class="cancelbtn"> Cancel</button>
            Forgot <a href="#"> password? </a>
        </div>
    </form> 
</body> 
</html>

Output:
 
TS
TS
P

Palmeras

Forum Guru
  • Sep 27, 2021
  • #26
Lathan said:
HTML:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> Login Page </title>
<style>
Body {
  font-family: Calibri, Helvetica, sans-serif;
  background-color: black;
}
button {
       background-color: #000000;
       width: 100%;
        color: white;
        padding: 15px;
        margin: 10px 0px;
        border: none;
        cursor: pointer;
         }
 form {
        border: 3px solid #f1f1f1;
        width: 350px;
        margin: auto;
    }
 input[type=text], input[type=password] {
        width: 100%;
        margin: 8px 0;
        padding: 12px 20px;
        display: inline-block;
        border: 2px solid green;
        box-sizing: border-box;
    }
 button:hover {
        opacity: 0.7;
    }
  .cancelbtn {
        width: auto;
        padding: 10px 18px;
        margin: 10px 5px;
    }
   
 
 .container {
        padding: 25px;
        background-color: grey;
        width: 300px;
        margin: auto;
    }
</style>
</head>
<body>
    <h1 style="color: white; text-align: center;"> Sino ka ba? </h1>

    <form>
        <div class="container">
            <label>Username : </label>
            <input type="text" placeholder="Enter Username" name="username" required>
            <label>Password : </label>
            <input type="password" placeholder="Enter Password" name="password" required>
            <button type="submit">Login</button>
            <input type="checkbox" checked="checked"> Remember me
            <button type="button" class="cancelbtn"> Cancel</button>
            Forgot <a href="#"> password? </a>
        </div>
    </form>
</body>
</html>

Output:
View attachment 1638811
Click to expand...
Last question sir kung gusto ko sya imove ng position alin ang babaguhin? sensya na dami tanong Psych student ako eh kanina ko lang sinubukan 'to HAHAHHA
 
L

Lathan

Forum Guru
  • Sep 27, 2021
  • #27
Palmeras said:
Last question sir kung gusto ko sya imove ng position alin ang babaguhin? sensya na dami tanong Psych student ako eh kanina ko lang sinubukan 'to HAHAHHA
Click to expand...
margin boss
 
L

Lathan

Forum Guru
  • Sep 27, 2021
  • #28
  • margin-top
  • margin-right
  • margin-bottom
  • margin-left
 
L

Lathan

Forum Guru
  • Sep 27, 2021
  • #29
Palmeras said:
Last question sir kung gusto ko sya imove ng position alin ang babaguhin? sensya na dami tanong Psych student ako eh kanina ko lang sinubukan 'to HAHAHHA
Click to expand...
palitan mo yung margin: auto sa container class.
ng ganito:

margin-top: 100px;
margin-bottom: 100px;
margin-right: 150px;
margin-left: 80px;

Plaitan mo rin kung ilang pixels gusto mo.
 
Reactions: Palmeras
L

Lathan

Forum Guru
  • Sep 27, 2021
  • #30
Pede rin ganito:
  • margin: 25px 50px 75px 100px;
    • top margin is 25px
    • right margin is 50px
    • bottom margin is 75px
    • left margin is 100px
More info:
You do not have permission to view the full content of this post. Log in or register now.
 
Reactions: Palmeras
TS
TS
P

Palmeras

Forum Guru
  • Sep 27, 2021
  • #31
Lathan said:
Pede rin ganito:
  • margin: 25px 50px 75px 100px;
    • top margin is 25px
    • right margin is 50px
    • bottom margin is 75px
    • left margin is 100px
More info:
You do not have permission to view the full content of this post. Log in or register now.
Click to expand...
Thanks sir sa malaking tulong
 
A

ambonjang12345

Grasshopper
  • Sep 30, 2021
  • #32
Gamit ka ng bootstrap
 
L

Lathan

Forum Guru
  • Sep 30, 2021
  • #33
ambonjang12345 said:
Gamit ka ng bootstrap
Click to expand...
beginner palang yan haha
 
P

Pusoy000

Forum Veteran
  • Oct 3, 2021
  • #34
pag aralan mo nalang flex
 
P

Pusoy000

Forum Veteran
  • Oct 3, 2021
  • #35

how about this
 
F

Frankie Arinoli

Eternal Poster
  • Oct 3, 2021
  • #36
Lagyan mo lodsng border radius para maganda yung interface, tsaka background image palitan mo

border-radius: 10px solid #(AnyColor na gusto mo);

Sa body naman ilagay mo, Background-image: file directory/file name;
 
P

phdevnjb

Fanatic
  • Oct 10, 2021
  • #37
Nice po. keep learning idol
 
Prev
  • 1
  • 2
First Prev 2 of 2
Status
Not open for further replies.

Similar threads

  • C
    Course [Udemy] Mastering Web Design: HTML, CSS & Generative AI | By: Skool of AI | DDL | 2.6 GB (TeraBox)
    • Started by CallMeShin
    • May 11, 2025
    • Replies: 0
    📘 Online Courses
  • S
    Course Udemy - HTML and CSS for Beginners From Basic to Advance
    • Started by shaniyyya
    • Feb 21, 2025
    • Replies: 0
    📘 Online Courses
  • O
    Course [UDEMY] HTML and CSS for Beginners From Basic to Advance
    • Started by Oranek
    • Jan 14, 2025
    • Replies: 4
    📘 Online Courses
  • D
    HTML & CSS Masterclass: Build Responsive Real-World Websites
    • Started by DrZero
    • Mar 14, 2025
    • Replies: 3
    📘 Online Courses
  • D
    Help Need help how to populate HTML selector to javascript
    • Started by DetroitGuru
    • Sep 9, 2024
    • Replies: 12
    💻 Coding & Programming

Popular Tags

android api app arduino bot c c++ capstone capstone project code coding coding and programming course css database developer development free help how how to html in java javascript language laravel mag mysql need need help patulong php program programmer programming programming language project python question react sql system thesis tutorial udemy using visual basic web with
Share:
Facebook X Bluesky LinkedIn Reddit Pinterest Tumblr WhatsApp Email Share Link
  • Home
  • Forums
  • COMPUTER
  • 💻 Coding & Programming
  • View Non-AMP Version
  • Contact us
  • Terms and rules
  • Privacy policy
  • Help
  • Home
Menu
Log in

Register

  • Home
    • Shoutbox
    • Miscellaneous
    • Mobile Network
    • Internet
    • Mobile Phone
    • Media
    • Computer
    • Game
    • Lounge
  • Forums
    • New topics New questions Popular today Popular this month New posts
  • What's new
    • Featured content
    • New posts
    • New media
    • New media comments
    • Latest activity
  • Media
    • New media
    • New comments
    • Search media
  • Search
    • Advanced search
X

Privacy & Transparency

We use cookies and similar technologies for the following purposes:

  • Personalized ads and content
  • Content measurement and audience insights

Do you accept cookies and these technologies?

X

Privacy & Transparency

We use cookies and similar technologies for the following purposes:

  • Personalized ads and content
  • Content measurement and audience insights

Do you accept cookies and these technologies?