The grammatical difference between html and css, and whether you want to learn html5? directly.

< H2 > now that you are getting started with front-end programming, can you learn html5 + css? directly across html, < / H2 >

the reason for my question is:
recently got in touch with html, spent more than two weeks reading more than 200 pages of a book, simple html+css made a little humble web page
, but there is a problem related to how I should continue next.
the embellishment syntax for some columns of text, labels, and so on in
css is different from that in html, such as the same table setting.

html:

<style>
table{ width:200px;}
</style>

there is a big difference between the two rule details , which makes it very awkward for me to come into contact with css just after learning the basic rules of html. I write that css strands into the style of html from time to time. The two visit each other in my head and often make low-level mistakes. And what"s even more frightening is that I don"t know how many conflicts caused by the grammatical details of css and html are waiting for me in the future.

an upperclassman suggested that I give up html and go deep into learning that css, can use css style instead of using html, as the problem really does not fall into the category of css and then look back at html.

but before the teacher told me that beginners still start with html, which not only makes it easy to get started, but also allows you to understand the development of html and adapt to a variety of browser frameworks.

recently visited various development forums, all kinds of Daniel said: start with html5, the opportunity to overtake in the corner ~

I"m dizzy. Who are you listening to?

there are a few more questions:
1, what on earth is html5? Can you explain it in a language that a rookie who has just learned a little bit can understand? What is the difference between
2 and css/css3? Just a few days after learning, css, was transferred directly to css3?. I"m afraid that after learning css, I have to relearn a lot of details in css3
3, and then I"m going to learn javascript, but a brother said to me: we don"t have to learn python,javascript in class

.
Mar.02,2021

what your upperclassman said to your teacher is correct. What they say is not the same focus.

first of all, your upperclassman is right. Don't use HTML to control the style, use CSS to control the style.
give up your < table width= "200" > this way of writing.

what your teacher must mean is "the learning front-end should first be introduced from HTML, and understand the basic knowledge of HTML in order to continue to learn more in-depth front-end knowledge." He didn't say, "use HTML to control the style first, and then use CSS to control the style later." "

then Daniel said to start with HTML5, and I talked about the following three questions together.

  1. what is HTML5? Baidu or Google will know. It's just a version of HTML. Before HTML5 came out in 2014, we used HTML4. If you understand this, you won't faint what Daniel said.
  2. CSS3 is a version of CSS. Before CSS3 came out in 2011, we used CSS2.
  3. that brother may not know that you are learning JS for the front end. If you want to learn front-end JS, it has nothing to do with Python.

I hope it will be helpful to you.


what we call web, is generally composed of three parts: information structure (document), visual presentation (style) and interactive behavior (script). The technologies responsible for these three aspects are HTML, CSS, and JavaScript respectively.

once upon a time, HTML itself can influence part of the visual presentation, but from the perspective of best practices, this is not good (the specific reason is not here, search and research), so it is better to leave the style to CSS, try not to use HTML to determine the visual presentation; what HTML should do is to describe the information (and its structure).

as for HTML5/CSS3, they are just HTML/CSS, just more important versions. Looking back from a historical point of view, we will give them a more positive evaluation, because from HTML5/CSS3, people no longer regard web as a toy and web development as a game, and people begin to face the standardization of web seriously and realize the essence and importance of web more and more.

starting with HTML5/CSS3, these two standards discard the bad parts of the past, introduce a lot of good things, and set the direction and feasible basis for future development (ECMAScript 2015, the historical version of JavaScript, should also be included here, with time nodes and historical importance similar to HTML5/CSS3). So what are you going to learn today? What you want to learn is still HTML/CSS/JavaScript, but you should take these three versions of HTML5/CSS3/ECMAScript2015 as the bottom line. You can understand any API/ skills / knowledge that are earlier than these three versions and have been abandoned after these three versions, but you should try to find an alternative to the newer version.

to repeat: HTML5/CSS3/ECMAScript2015 is not a brand new product separated from the past, it just corrects many mistakes of the past, introduces many features available now, and lays a good foundation for future development, so you have to learn HTML/CSS/JavaScript, as long as you do web,.


first html and css, then html5 and css3 can better understand


practice leads to truth; html+css; will definitely come into contact with html5 and css3; in practical projects, and then will find the pros and cons; and then will have their own conclusions

Menu