[HTML] Codecademy Study Notes

Source: Internet
Author: User
Tags closing tag opening and closing tags

<Strong> </strong>Tags made our textBold!

Italicize!

<! DOCTYPE html>On the first line. This tells the browser what language it's reading (in this case, HTML ).
2. B Always putOn the next line. This starts the HTML document.
2. c Always putOn the last line. This ends the HTML document.

    

 

                               ----------

 

4. B The head nodes des important information about the webpage, such as its title.
4. c The title is the words we see in the tab (the title at the top of The your browser window ).

 

<P>And</p>. We put content in between the tags, like this:

                                                                                 

 

 

                                             --The CEO--             --VP of Fancy Towne--         --Director of Some Stuff--         --Middle management--         --Lowly assistant--         --Gets coffee for everyone else--         The first paragraph!         The second paragraph!      

 

Src. It's also different because this tagSelf-closes: It doesn' t have a separate tag to close it. Note/In the tag to close it:. Make sure it's before the closing<body>Tag!

The<a>Tag is the one used to makeHyperlinks(Or justLinks) On webpages. These are the words or images you click to go to a new page!

                                                                                     Click here to Baidu!      

 

8. Ordered lists and Unordered lists: The best thing about unordered lists is that they work exactly the same way as ordered lists. The only difference is that instead of using<ol>, We use<ul>. Everything else is the same!They can nested with each other!

            Nested lists                                              football             knitting                                                     hating football             skydiving                                                     Favorite Boys' Names                              Boy1             Boy2             Boy3                      Favorite Girls' Names                        Girl1              Girl2              Girl3                                     

 

9. It's important to know that you can use the style attributeParagraphs, headings, and even links! Remember:Dont nestAny tags when you change styles!

                Putting it all together                   A truly spectacular paragraph!      

 

10. SummaryStyles!

                                                         I'm in ordered lists.                               I'm in unordered lists.                            

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.