Skip to content

Instantly share code, notes, and snippets.

@agustinpfs
Last active July 20, 2020 14:54
Show Gist options
  • Save agustinpfs/67ff191bced7062c7d88f061a76d7b9f to your computer and use it in GitHub Desktop.
Save agustinpfs/67ff191bced7062c7d88f061a76d7b9f to your computer and use it in GitHub Desktop.

Revisions

  1. agustinpfs revised this gist Jul 20, 2020. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion index.html
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,6 @@
    h1 {
    text-align: center;
    }

    ul {
    position: absolute;
    top: 10px;
  2. agustinpfs created this gist Jul 20, 2020.
    47 changes: 47 additions & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,47 @@
    <!DOCTYPE html>
    <html lang="es">

    <head>
    <meta charset="UTF-8">
    <title>Ejemplo1</title>
    <style>
    h1 {
    text-align: center;
    }

    ul {
    position: absolute;
    top: 10px;
    right: 10px;
    }
    li {
    display: inline;
    }
    p {
    color: red;
    }
    figure {
    text-align: center;
    }

    </style>
    </head>

    <body>
    <main>
    <h1>Título</h1>
    <ul>
    <li>ítem 1</li>
    <li>ítem 2</li>
    <li>ítem 3</li>
    </ul>
    <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Veniam, ipsa inventore. Quidem unde nesciunt eos
    error tempora nemo minus suscipit repudiandae aut? Eos delectus nesciunt reprehenderit hic provident dolorem
    reiciendis.</p>
    <br>
    <br>
    <figure><img src="https://picsum.photos/id/1020/600/400" alt=""></figure>
    </main>
    </body>

    </html>