U E D R , A S I H C RSS

Zero Page_200_OK/소스


1. 2012.07.04

  • 오늘 했던 거 거의 다 때려 박은 소스임...;;

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title>title</title>
    <style>
    li > span {background-color: gray;}
    li ul {display: none;}
    .menu > li:hover > span {background-color: blue; color: white;} /* (elementName)(.elementName)(:pseudo-class) */
    li:hover ul {display: block;}
    div.alert {
        width: 200px;
                height: 150px;
                border:1px solid black;
                <!--position: absolute;-->
                position: fixed;
                bottom: 0px;
                background-color: white;
                <!--float: left;-->
    }
    </style>
</head>
<body>
    <h1>Books</h1>
    <ul class="menu"> <!-- unordered list -->
        <li>
                <span>File</span>
                <ul>
                        <li>
                                <span>New</span>
                        </li>
                </ul>
        </li> <!-- list item -->
        <li>b</li>
        <li>
                <ol >
                </ol>
        </li>
    </ul>
    <ol class="menu"> <!-- ordered list -->
        <li><span>a</span></li>
        <li>b</li>
    </ol>
    <span>HaHa</span>
    <!-- span: inline element -->
    <span>zz</span>
    <div>hahaha</div><!-- div: block element -->
    <div>hahahaha</div>
    <img src = "http://jsfiddle.net/img/social-icons/facebook_16.png" alt="Facebook" />
    <table border="1" style="margin: 10px;" summary="books_const">
        <tr><!-- table row -->
            <th rowspan="2">price</th><!-- table head cell -->
            <td>5,000 won</td><!-- table data cell -->
        </tr>
        <tr>
            <td>5</td>
        </tr>
        <tr>
            <td colspan="2">25,000 won</td>
        </tr>
    </table>
    aaa<div class="alert">1~] ~B~Z~] ~X~]~X~K~H~K.</div><div class="alert">2~@ ~B~Z~] ~X~]~X~K~H~K.</div>bbb
</body>
</html>

2. 2012.07.11

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title>20120711</title>
</head>
<body>
        <form action="http://zeropage.org/act" method="post" onsubmit="if (this.password.value.length < 1) {alert('required pw'); return false;} else {return true;}">
                <label for="form_id">ID     </label><input id="form_id" size="5" maxlength="5" name="id" type="text" value="abc" /> <br/>
                <label for="form_psw">PSW</label><input id="form_psw" size="5" name="password" type="password" value="abc" /><br/>
                <input name="group "type="hidden" value="abc" /><br/>
                <textarea name="detail">abc
def</textarea> <br/>
                <input name="upload"  type="file"/><br/>

                <input name="chk" type="checkbox" value="abc" id="form_chk"/><label for="form_chk">abc</label><br/>
                <input type="checkbox" value="abc" checked="checked"/>abc<br/>
                <input type="checkbox" name="chk[]" value="a" checked="checked" /> a<br />
                <input type="checkbox" name="chk[]" value="b" checked="checked" /> b<br />
                <input type="checkbox" name="chk[]" value="c" checked="checked" /> c<br />
                <input type="radio" value="abc" />abc<br/>
                <input type="radio" value="abc" checked="checked" />abc<br/>

                <select name="combo">
                        <option value="123">a</option>
                        <option selected>b</option>
                </select><br/>
                <input type="button" value="abc" /><br/>
                <input type="submit" value="| ~D~F" /><br/>
                <input type="reset" value="취~F~L" /><br/>
        </form>
</body>
</html>
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:28:33
Processing time 0.0233 sec