New in web development, want to use HTML5 and CSS

I am new to web development, I just learned about XHTML 1.0 and CSS and a brief look at HTML5.

And I do not know. Should I start reading about Javascript now or do exercises in HTML and CSS ... I really think I should do it, but I don’t know how and on which sites this is good.

Please help me, thanks in advance.

+4
source share
3 answers

I recommend that you start by understanding how HTML and CSS work before playing with JavaScript.

Consider that you have a strong sense of these skills when you can do this and feel comfortable with the following:

  • Create multiple web pages manually your own

  • Learn a little about using Divs and play with their styling using classes and IDs

  • Learn to import your CSS from an external file, and then create an HTML page that can use one of several CSS files to encode it. Check out CSS Zen Garden to see what I mean.

  • Learn how to use Firebug in Firefox, and in particular, play with styles and content fields on an existing page using Inspect Element. 2013 update: Chrome dev tools are getting much better. Link ] 2

For more interesting JavaScript, you will need an understanding of the Document Object Model (DOM), and you will create this by doing the above.

If you are in such a situation that you think you have done all this, you are probably ready to immerse yourself in JavaScript.

Please note that HTML5 is also supported in slightly different ways between browsers right now, so focus more on HTML for now before diving into HTML5, thereby avoiding the need to deal with some of the odd quirks that are still present in HTML5, and the fact that HTML5 has slightly less documentation.

+8
source

I highly recommend this book: http://www.sitepoint.com/books/html2/

Own build your own website The right way Using a book of HTML and CSS, for those who do not want to follow the link.

It is written for beginners and is the book that I always recommend to people who want to learn html and css.

+2
source

First create your site using HTML / CSS. Be content with writing semantic HTML. Know how to use floats and how to contain them. After you have created a couple of websites with different layouts, gradually improve that with Javascript.

Once you are comfortable with Javascript, take a look at one of the libraries to make your work easier ( Jquery , Prototype , MooTools ).

+1
source

Source: https://habr.com/ru/post/1341248/


All Articles