Home > Article > Web Front-end > HTML self-study journey (1) Basic elements and attributes exercises (self-written code)_HTML/Xhtml_Web page production
I followed the tutorial on W3school. I personally think the tutorial is very good. There are small exercises in each section. Come on!
I typed the code myself. Some books are against writing code by myself, but I think it is beneficial to write it myself because I have no foundation. Hehe, I have different opinions. .
Exercise 1:
This is the first paragraph
Month | Savings |
---|---|
January | $100 |
This sentence
break a line here
This paragraph has a lot of
blank lines
or spaces
But the browser automatically ignores them
There is code
<br>while(true) <br>{ <br>sum=a b; <br>return sum; <br>cout<<sum; <br>} <br>
<br>This is preformatted text<br>Haha<br>You can output spaces<br>Empty lines <br>
<br>while(true) <br>{ <br>computer code; <br>} <br>
This is a long quotation. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote
This is a long quote Quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote
This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote. This is a long quote
Short quote wow, short quote
A dozen hastwentyOh