Home >Web Front-end >HTML Tutorial >First week notes_html/css_WEB-ITnose
I first learned to use Frontpage to make web pages when I was in elementary school. Of course, at that time, I was just using it like Word, and I didn’t know the html and css in it at all.
I took Adou’s training courses twice this week and learned the basics of HTML and CSS.
In fact, before the first class, the leader of the .Net group asked me to read some html books, so I already borrowed a "big book" and almost devoured the html related stuff. half of the content. So when I was in class, I found that I already understood a lot of the content.
Knowing the content of knowledge and whether it can be applied well are two different concepts. It still took a lot of effort to complete the first assignment. I spent a whole morning creating a registration page without any decoration. But I have been struggling with the layout issue. When you choose to center the content, the text cannot be left aligned. I have been struggling all morning and tried many solutions to no avail. In desperation, I had to give up temporarily, but suddenly found that the second class was about to start, so I rushed to class again.
The content of the second lesson is css. Since I haven’t watched it beforehand this time, most of the content is new. Among the three ways to use css
, only the inline style is familiar because I used it in the previous day’s homework (in fact, I didn’t realize that this was the style of css when I used it) ) The course went very quickly. But when I flipped through the book later, I found that the content in the class was just the tip of the iceberg. There are more contents that have not been covered, so I spent half the night studying in self-study and read some things that I planned to use in the second assignment.
During the second class, it suddenly occurred to me that I could use my cousin to do the typesetting that I didn’t know where to look at a long time ago. After returning home, I immediately started to modify it, and finally succeeded in achieving the desired effect. Also, in my first assignment, I used a black background, and I processed all the text on the page in white one by one. After learning CSS, I found that I could achieve the effect through global definition, which was a lot more convenient.
I am now thinking about the method for the second assignment. I probably have some ideas, but I still have no idea to solve some layout problems. I hope it can be solved smoothly in the next few days.