Answer:
Margin is applied to the outside of your element hence affecting how far your element is away from other elements.
Padding is applied to the inside of your element hence affecting how far your element's content is away from the border.
Explanation:
Hope it helps!!!
Answer:
The answer to this question is given below in the explanation section.
Explanation:
This question is about to write HTML code for the given sub-questions. In each sub-question different scenario is given. So, the answer to these questions is given below in the order they asked.
1. In this question it is asked to write a code of 5 students' name in a paragraph with a different color that make them unique.
<html>
<body>
<p style="color:red;">Student A</p>
<p style="color:blue;">Student B</p>
<p style="color:black;">Student C</p>
<p style="color:orange;">Student D</p>
<p style="color:green;">Student E</p>
</body>
</html>
2. In it, the below is given code show an ordered list of subjects that you're offering.
<html>
<body>
<h2>An ordered HTML list</h2>
<ol>
<li>Introduction to Computing</li>
<li>Communication Skills</li>
<li>Software Designing</li>
</ol>
</body>
</html>
3. The below-given HTML code shows the unordered list of parts that make up the computer.
<html>
<body>
<h2>An unordered HTML list</h2>
<ul>
<li>CPU</li>
<li>RAM</li>
<li>Motherboard</li>
<li>Mouse</li>
<li>Keyboard</li>
<li>Monitor</li>
</ul>
</body>
</html>
Answer:
price = float(input("Enter amount of a purchase: "))
shipping_price = 0.12* price
NJ_sales_Tax = 0.07*price
print('The price of item is {}'.format(price))
print('The Cost of Shipping is {}'.format(shipping_price) )
print('New Jessey Sales Tax is {}'.format(NJ_sales_Tax))
total_bill = shipping_price+NJ_sales_Tax+price
print('Total Bill {} ' .format(total_bill))
Explanation:
- Prompt User for input of the amount of purchase
- Calculate the shipping cost (12% of purchase price)
- Calculate the tax (7% of the purchase price)
- Use python's .format method to output an itemized bill
Answer:
An SSL also provides protection from IP spoofing.