Giter VIP home page Giter VIP logo

c23's Introduction

c23

Úvod do webových technologií.

Obsah

TL;DR - HTML definuje strukturu stránky. - CSS definuje zobrazení stránky. - JavaScript přidává funkcionalitu navíc. - HTTP je protokol pomocí kterého kominikujeme mezi klientem a serverem. - JSON je formát/zápis pro ukládání dat.
HTML (Hypertext Markup Language)
  • HTML
    • Struktura stránky (Document outline)
      • <!DOCTYPE>
      • <html></html>
      • <head></head> (Page information)
        • <base />
        • <meta /> meta informace
        • <meta charset="UTF-8 /> kódování stránky
        • <title /> titulek stránky
      • <body></body>
    • Komentáře <!-- oneline or multiline comment -->
    • Struktura a obsah (page content and structure)
    • Obsah (Page content
      • <h1>... <h6> Heading
      • <span> Inline section
      • <p> Paragraph
      • <br /> Zalomení (Line break): používej jen málo
      • &nbsp; Nezalomitelná mezera
      • <hr /> Horizontal rule (line)
    • Links
      • Page link
      • Email link: <a href="mailto:[email protected]">Email</a>
      • <a name="anchor"> Anchor
      • <a href="#anchor"> Link to anchor (works for any element id)
    • Text markups
      • <i>
      • <b>
    • Lists
      • <ul> Unordered list
      • <ol> Ordered list
      • <dl> Definition list
    • Tables: <table>
    • Forms and Inputs: <form>, <input>, <textarea>
    • Media and embeding
      • Image: <img>
      • Video: `
      • Audio: <audio>
      • Frame: <iframe>
    • Canvas: <canvas>
      • 2D context
      • WebGL context
    • Členění stránky
      • <div> Page division (division)
      • <aside> Sidebar
      • <nav> Navigation
      • <header> Header
      • <footer> Footer
      • <main> Main
      • <article> Article
      • <section>

HTML elements; HTML attributes

  • Syntax a sémantika HTML elementů.
  • HTML uvedem pomocí <!DOCTYPE html>.
  • HTML je case insensitive tzn., že doctype je to samé jako DOCTYPE nebo Doctype, nicméně je dobré zapisovat jako DOCTYPE.
  • HTML sekce <head> slouží pro metada a není určena k zobrazení.
  • HTML sekce <body> slouží pro zobrazení obsahu

<h1> je hlavní nadpis stránky a měl by být uveden pouze jednou.

  • CTRL + Shift + I zapíná v Chrome vývojářské nástroje.

  • CTRL + + zvětšuje font

  • CTRL + - zmenšuje font

  • CTRL + 0 resetuje na 100%

  • Element, atribut tag

  • HTML element je reprezentován HTML tagem.

  • HTML tag může být párový nebo nepárový.

  • Element

  1. blokový (většina)
  2. řádkový

Řadkový se dá zobrazit jako blokový a naopak, pomocí CSS.

Tag může mít atribut Elemnt může vlastnost.

<!-- párový -->
<h1> ... </h1>

<!-- nepárový -->
<img />
  • Úprava textu a typografie

<b> vs <strong>

<i> vs <em>

CSS (Cascading Style Sheets)
  • <link>
  • @import
  • # id
  • . class
JavaScript: DOM, JSON, HTTP, CORS
  • DOM
  • JS: Objects
  • JS: Functions
  • JS: Prototypes
  • JSON
HTTP (Hypertext Transfer Protocol)

Resources

Notes

git subtree push --prefix=dist origin gh-pages

c23's People

Contributors

4e1e0603 avatar groundf-test avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.