Git Product home page Git Product logo

sumn2u / learn-webdevelopment Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 2.1 MB

A book that teaches you the basics of designing a web page using HTM, CSS and JS.

Home Page: https://webdevelopment.sumankunwar.com.np/

License: Apache License 2.0

Dockerfile 0.07% HTML 92.86% CSS 3.88% JavaScript 3.19%
html-css-javascript web-development html js learning open open-source css css3 responsive

learn-webdevelopment's Introduction

Introduction

This book will teach you the basics of designing a web page with HTML and CSS. Whether you are an experienced programmer or not, this book is intended for everyone who wishes to learn to design a web page with HTML and CSS. To design a web page with HTML and CSS, you can follow these steps:

  • Start with a basic HTML structure:
<!DOCTYPE html>
<html>
  <head>
    <title>Page Title</title>
  </head>
  <body>
    <!-- Page content goes here -->
  </body>
</html>
  • Add the content that you want to display on the page, such as text, images, and links, using HTML elements.
<body>
  <h1>Welcome to my website</h1>
  <p>This is a paragraph of text.</p>
  <img src="image.jpg" alt="A description of the image">
  <a href="http://example.com">Click here to visit a website</a>
</body>
  • Use CSS to style the page and make it look the way you want. You can include the CSS in a separate file and link to it from the HTML, or you can include the CSS directly in the head of the HTML document.
<head>
  <style>
    body {
      font-family: sans-serif;
      color: #333;
      background-color: #fff;
    }
    h1 {
      font-size: 32px;
      color: #333;
      margin: 0;
    }
    p {
      font-size: 16px;
      line-height: 1.5;
      margin: 0;
    }
  </style>
</head>
  • Use responsive design techniques to make the page look good on different devices and screen sizes. This can involve using media queries to apply different styles based on the width of the viewport, using flexible layouts and images, and using responsive design frameworks such as Bootstrap.
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 24px;
  }
}

By using HTML and CSS, you can create a wide range of web page designs and layouts. HTML provides the structure and content of the page, and CSS provides the style and layout. Combining these technologies, you can create beautiful and functional web pages that can be viewed on any device.

learn-webdevelopment's People

Contributors

sumn2u avatar

Stargazers

 avatar

Watchers

 avatar  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.