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

in Steem4Bloggers5 months ago (edited)


Greetings to All


Hy guys, I wish you all the blessings and mercy of Almighty Allah and I hope you enjoy the beautiful days of your lives. So as we know, a new concept has been released by the Steemit team and new teaching teams have published their courses So on with the Engagement Challenge . So lets start the course with the first chapter, that is basics of Html5.As a software Engineer I am very excited to join the course and learn or refresh my concepts. Thanks to team @kouba1 or @sttarchris for starting the coding course initiative. So lets delve deeper in the topic by answering these questions or different Sections .In Section 1 , we will answer the quiz; in Section 2 we will answer the theoretical questions; and in section 3 move towards the practical implementation....

WhatsApp Image 2024-07-09 at 00.02.23_b7f6d752.jpg

image.png

SECTION 1

Quiz

image.png

After Reading or understanding course here are the answers of quiz....

Which tag is used for the most important headings?

a) < title>
b) < h1>
c) < p>

Answer:b(h1)
Descriptions
: < title > tag is used in header to give the title of the document and appears in the browser tab. It is also used by the search Engines, on the other hand < p > is for paragraphs, so final answer is h1 tag that is used to define the main titles...

2.Which tag is used to create a paragraph?

a) < paragraph >
b) < p >
c) < para >

Answer:b(< p >)
Descriptions
: < p > tag is the correct syntax

3.Which tag is used to insert an image?

a) < image >
b) < img >
c) < src >

Answer:b(< img >)
Descriptions
: < img src =" image.png " > tag is the correct syntax for inserting an image

4.Which CSS property is used to change the text color?

a) font-color
b) color
c) text-color

Answer:b( color )
Descriptions
: color is the tag to change text color

5.How do you link a CSS file to an HTML file?

a)< link rel="stylesheet" href="styles.css">
b) < stylesheet>styles.css
c) < css link="styles.css">

Answer:a(< link rel="stylesheet" href="styles.css"> )

image.png

SECTION 2

THEORATICAL QUESTIONS

image.png

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

The < meta > element provides metadata about the HTML document. Metadata is information about the data and it is not displayed on the webpage content but Instead it is used in browsers such as google , firefox or other , search engines, and other web services.

image.png

  • charset: Indicate the chracters encoding in the documents
  • name and content: Pairs used to define metadata such as description, keywords, and author.
  • viewport: use to control layout on mobiles and other devices
2.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.

The < input > element is used to create the control on our form or basically indicate that we are going to fetch any information.

Text Field
  • type="text" It indicates that we are going to fetch the information in text form
  • name: indicates the name of the input
  • placeholder: This will provide a hint to the user about what to enter.
    Example....

image.png

image.png
Output....

image.png

Radio Buttons
  • type="radio" It indicates that we what will be the type of the button
  • name group radio button togather
  • value it indicates the value of the button or content

Example....

image.png
output....

image.png

Check Box
  • type="checkbox" It indicates that we what will be the type of the button
  • name tells the name of the input
  • value it indicates the value of the button or content

Example....

image.png

image.png

3.Explain the difference between < ul > and < ol > elements. When would you use each of them?
  • < ul > (Unordered List): Used to create a list of items where the order does not matter. Items are typically marked with bullets.
  • < ol > (Ordered List): Used to create a list of items where the order does matter. Items are typically marked with numbers.

Example...
image.png

output...

image.png

4.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.

The < form > element is used to collect user input and send it to a server. It serves as a container for various form elements like input fields, checkboxes, radio buttons, etc.

Important Attributes:

  • Action: Specifies the URL where the form data will be sent.
  • Method: Specifies the HTTP method to use when sending the form data (GET or POST).

image.png

In this example, when the form is submitted, the data is sent to /submit-form using the POST method

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

The < fieldset > tag is used to group related elements within a form. This can help to organize complex forms and make them more understandable to both users and developers. It often includes a < legend > tag to provide a caption for the group.

image.png

image.png

SECTION 3

PRACTICAL QUESTIONS

image.png

So lets step to practical questions the First task VSCode is already done by me as a software Student,Secondly I have created the form with little bit different design....

Form
image.png

Code

image.png

image.png

Css Code:(not Necessary to use in this chapter)

image.png

So here is the completion of my entry. Feel free to tell me if I have any mistake

image.png

So that was all from my side about the topic and I hope that you all will like to read the post and support the content

I would like to invite

to participate in the contest

Thanks for Reading
Regards @mateenfatima
Sort:  
Loading...

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.

Loading...

TEAM 6
: Congratulations! This post has been curated using steemcurator06. We appreciate your efforts on making quality blogs and post relevant comments. Thank You 😊


footer.jpg

Curated by : @pelon53
 5 months ago 

Thanks @pelon53 for support.

Hello @mateenfatima hope you are having a good day, good to know that you are doing software engineering, I am also related to this field on BSIT , I really liked your presentation and the detailed information, and you have created is also beautiful the color theme is great, hope I will see your entry in coming contests too ,wish you success 💖🤗🌸💐.

 5 months ago 

Nice to know that you are also an IT students.Thanks a lot for your valueable review.

 5 months ago 

Hello dear you have done your job to make entry in challenge where you add your esthetics knowledge. Looking like you are a professional web developer. Because you done your job to make form is fabulous. I like it very much. Web development is easier then other but some places we get troubles. Like in end if web development course PHP give us a lot of problems. I wish you the best of luck. Keep growing up.

 5 months ago 

Thanks a lot for your feedback.

 5 months ago 

Wow!. What a magnificent piece of work you have put out there sir. This is great programming.. I see you have mastered CSS style combined with HTML. I am still beginner and I will be reading all your post after lessons for inquiries.

Thanks for sharing with us

 5 months ago 

Thanks a lot for your valueable insights.I wish you success in your efforts and hope you will be advanced soon.

 5 months ago 

Hello dear friend 👋
You have done a great job by sharing an impressive article with us. Probably you was the first person who have participated in that challenge. Anyway thank you so much for sharing your knowledge with us 😊