Sec S19W1 || Creation of an Interactive Website (Basic concepts of HTML5)

in #burnsteem2519 hours ago (edited)

steemit-engagement-challenge-cover.jpeg

Greetings Steemit friends

Great, thanks for this opportunity from the steemit team and the Dynamic Devs team. These basic concepts of HTML are not just for those interested in the development of websites. It is for every Steemian, as they will learn about some tags that can be applied in creating a post on the steemit platform. Markdown tags are not different from HTML tags, mastering one solves the problem of the other. With the basics, we can see the concept of open and closed tags. Now we see how we have been trying to justify and play around with images when creating a post. Thanks again to the Dynamic Devs Team. Let me give it a try and learn with the little I know about HTML5.

Which tag is used for the most important headings?
< h1>

Which tag is used to create a paragraph?
< p>

Which tag is used to insert an image?
< img>

Which CSS property is used to change the text color?
text-color

How do you link a CSS file to an HTML file?
<link rel="stylesheet" href="styles.css">

Theoretical Questions

What is the function of the < meta > element in the < head > of an HTML document? Give an example of use.

< meta > are important tags for the SEO of a website. Far back it is one of the tags used by the Google engine in ranking websites. < meta > helps to give short details of a web page to a search engine. It is used to hold preview information of a web page.
Examples

  1. Google search: When you search, you get results that carry a title, images, and description.
  2. Facebook: When you share a link on Facebook, it auto-picks the title, images, and description.

Those who share on Twitter (X) will have noticed my explanation above.

What are the main attributes used with the < input > element to create text fields, radio buttons, and check boxes in an HTML form? Give an example for each.

Text: type, name, placeholder, title, value
Radio buttons: type, name, value, checked
Check boxes: type, name, value

Explain the difference between < ul > and < ol > elements. When would you use each of them?

Looking at the first letter tells the difference, and only you can decide when to use it. What to bear in mind is that both tags are list tags. The u stands for unordered while the o stands for order.

  • <ul> unordered list, will not have a specific order for the list displayed.
  • <ol> order list will order the list in a specific order(eg: 12345).

What is the purpose of the < form > element in HTML? What are the important attributes to include in the < form > element to specify the method and action? Give an example.

<form> is the tag used for creating inputs. Submission sections in HTML are done in a < form > tag. That is input attributes are placed within a < form > tag.

method ="POST/GET": The Method will tell if the browser is receiving or sending the information from different input fields.
action = "file-name": The action tells the location where the information will be processed for server use or display.

<form action = "create.php" method = "post">
</form>

What is a < fieldset > tag and what is its role in an HTML form? Include an example in your answer.

<fieldset> helps to group related elements of a form. For example, the < fieldset > tag can be used to put more than one < input > in a single section.

<fieldset>
<legend>Details:
Username:<input type="text">
Password:<input type="password">
<fields >

  1. Practical Questions

    Open VSCode and create two files named form.html.
    Take a screenshot of your completed form in the browser.
    Share the screenshot and HTML source code on Steemit in your entry post.

Screenshot 2024-07-12 172318.png

Screenshot 2024-07-12 172510-1.png

Screenshot 2024-07-12 172539-2.png

Screenshot 2024-07-12 172631-3.png

I invite @rosybelyepez, @menkemndi, @strawberrry



Cheers
Thanks for dropping by
@fombae

Sort:  

Thank you, friend!
I'm @steem.history, who is steem witness.
Thank you for witnessvoting for me.
image.png
please click it!
image.png
(Go to https://steemit.com/~witnesses and type fbslo at the bottom of the page)

The weight is reduced because of the lack of Voting Power. If you vote for me as a witness, you can get my little vote.

Upvoted. Thank You for sending some of your rewards to @null. It will make Steem stronger.

Coin Marketplace

STEEM 0.18
TRX 0.14
JST 0.030
BTC 58639.60
ETH 3167.30
USDT 1.00
SBD 2.43