HTML – <body> tag
As we have mentioned earlier in another tutorial, the <body> tag is the one that contains everything that will be shown in a web page: tables, forms, paragraphs, photos and anything else.
All this are entered between <body> and </body> tag.
HTML – Attributes of the body tag
- leftmargin – establishes an edge in the left side of the page (an empty space)
- topmargin – establishes an edge in the top side of the page (an empty space)
An example would be:
<body topmargin="50"> This text is located at a distance of 50 pixels of the top of the page </body>
<body leftmargin="50"> This text is located at a distance of 50 pixels to the left of the page </body>
You can copy this code into a notepad file, saving it as .html to view it best.
HTML – Text color established by the body tag
<body text="red" > or <body text="rgb(255,0,0)" >
This part of the code will set the base font color as red, in case another color is not specified within the paragraph tag, <p>.
HTML – Link color set by the body tag
Same as the text, you can set the viewed or not viewed links color with the help of the body tag.
<body link="white" vlink="black" > or <body link="rgb(255,255,255)" vlink="rgb(0,0,0)" >
This method is used very rarely though, using the CSS (Cascading Style Sheets) being much easier and more practical.
Python Example for Beginners
Two Machine Learning Fields
There are two sides to machine learning:
- Practical Machine Learning:This is about querying databases, cleaning data, writing scripts to transform data and gluing algorithm and libraries together and writing custom code to squeeze reliable answers from data to satisfy difficult and ill defined questions. It’s the mess of reality.
- Theoretical Machine Learning: This is about math and abstraction and idealized scenarios and limits and beauty and informing what is possible. It is a whole lot neater and cleaner and removed from the mess of reality.
Data Science Resources: Data Science Recipes and Applied Machine Learning Recipes
Introduction to Applied Machine Learning & Data Science for Beginners, Business Analysts, Students, Researchers and Freelancers with Python & R Codes @ Western Australian Center for Applied Machine Learning & Data Science (WACAMLDS) !!!
Latest end-to-end Learn by Coding Recipes in Project-Based Learning:
Disclaimer: The information and code presented within this recipe/tutorial is only for educational and coaching purposes for beginners and developers. Anyone can practice and apply the recipe/tutorial presented here, but the reader is taking full responsibility for his/her actions. The author (content curator) of this recipe (code / program) has made every effort to ensure the accuracy of the information was correct at time of publication. The author (content curator) does not assume and hereby disclaims any liability to any party for any loss, damage, or disruption caused by errors or omissions, whether such errors or omissions result from accident, negligence, or any other cause. The information presented here could also be found in public knowledge domains.