Week - 4

I hope you've been having an awesome time learning in Week 3 Module because let me tell you, you're killing it! Your hard work and dedication are paying off, and you should be proud of yourself.

Remember, if you ever need a break from studying, I'm here to share some fun facts.

Did you know that the first computer mouse was made of wood?

That's right, in 1964, a prototype of the computer mouse was built by Douglas Engelbart, and it was made out of a block of wood with a single button. It's hard to imagine using something so primitive now that we have wireless mice with multiple buttons and scrolling capabilities.

After end of this week, you should be able to:

  • write beautiful HTML code with professional level style guide
  • get familiar with different symbols, emojis, entities, charsets, etc. on HTML
  • know what is URL & how it works
  • know a little bit about XHTML
  • build forms on websites
  • attach different medias (sound, videos, images, etc.) on websites

Let’s get into it 🚀

https://media.giphy.com/media/CjmvTCZf2U3p09Cn0h/giphy.gif

Follow this comprehensive day-by-day guide to fulfill your dream of becoming an ultimate professional developer in the future.

Day - 1

We’ve learned a lot of things of HTML Writing clean and organized HTML is crucial for creating maintainable and scalable web projects. We're going to cover some essential tips and best practices for creating an HTML style guide. From formatting and indentation to naming conventions and code structure. Let's get started!

HTML Style Guide and Coding Conventions

Have you ever tried to include special characters like © or ® in your HTML code, only to find that they don't display correctly in the browser? That's where HTML entities come in. An HTML entity is a piece of text that begins with an ampersand (&) and ends with a semicolon (;). It's used to represent special characters and symbols that can't be included in HTML code directly.

In this short intro, we'll explore what HTML entities are, why they're important, and how to use them in your HTML code.

Please remember that you don’t have to memorize any of these. Just copy paste the code when you need them.

HTML Entities

HTML Symbols

HTML Emojis

HTML Charset

HTML URLs, or Uniform Resource Locators, are an essential part of navigating the web. They provide a standardized way to access web resources, such as web pages, images, videos, and more. We'll explore the fundamentals of what URLs are, how they work, and why they're important.

https://www.youtube.com/watch?v=AlkDbnbv7dk

HTML URL Encoding

Day - 2

Why did HTML break up with XHTML?

Because HTML said, "I like my tags loose and flexible," but XHTML was like, "I prefer them strict and well-formed." They just couldn't see eye to eye on markup!

I know this is a boring Joke but it makes sense right? 😄

So let’s take a look between them.

HTML Versus XHTML

HTML forms are an essential component of building interactive websites. With forms, users can input and submit data, such as contact information, search queries, and more. HTML forms allow for user interaction and engagement, making websites more dynamic and user-friendly. In this context, we can say that HTML forms provide a means for communication between users and websites.

https://www.youtube.com/watch?v=fNcJuPIZ2WE

HTML Forms

HTML Form Attributes

⚠️ Don’t forget to checkout all the attributes.

AttributeDescription
https://www.w3schools.com/tags/att_form_accept_charset.aspSpecifies the character encodings used for form submission
https://www.w3schools.com/tags/att_form_action.aspSpecifies where to send the form-data when a form is submitted
https://www.w3schools.com/tags/att_form_autocomplete.aspSpecifies whether a form should have autocomplete on or off
https://www.w3schools.com/tags/att_form_enctype.aspSpecifies how the form-data should be encoded when submitting it to the server (only for method="post")
https://www.w3schools.com/tags/att_form_method.aspSpecifies the HTTP method to use when sending form-data
https://www.w3schools.com/tags/att_form_name.aspSpecifies the name of the form
https://www.w3schools.com/tags/att_form_novalidate.aspSpecifies that the form should not be validated when submitted
https://www.w3schools.com/tags/att_form_rel.aspSpecifies the relationship between a linked resource and the current document
https://www.w3schools.com/tags/att_form_target.aspSpecifies where to display the response that is received after submitting the form

Day - 3

HTML Form Elements

⚠️ Don’t forget to checkout all the form elements

TagDescription
https://www.w3schools.com/tags/tag_form.aspDefines an HTML form for user input
https://www.w3schools.com/tags/tag_input.aspDefines an input control
https://www.w3schools.com/tags/tag_textarea.aspDefines a multiline input control (text area)
https://www.w3schools.com/tags/tag_label.aspDefines a label for an element
https://www.w3schools.com/tags/tag_fieldset.aspGroups related elements in a form
https://www.w3schools.com/tags/tag_legend.aspDefines a caption for a
element
https://www.w3schools.com/tags/tag_select.aspDefines a drop-down list
https://www.w3schools.com/tags/tag_optgroup.aspDefines a group of related options in a drop-down list
https://www.w3schools.com/tags/tag_option.aspDefines an option in a drop-down list
https://www.w3schools.com/tags/tag_button.aspDefines a clickable button
https://www.w3schools.com/tags/tag_datalist.aspSpecifies a list of pre-defined options for input controls
https://www.w3schools.com/tags/tag_output.aspDefines the result of a calculation

Day - 4

HTML Input Types

HTML Input Attributes

HTML Input form* Attributes

Day - 5

HTML media allows web developers to embed various multimedia content, such as images, videos, and audio, into their websites. This not only enhances the visual and auditory experience for users but also allows for more engaging and interactive content. With HTML media, web developers can customize the appearance and functionality of multimedia elements, such as controlling the size and playback of videos and audio files. In this way, HTML media plays a critical role in creating compelling and dynamic web content.

HTML Multimedia

HTML Video

HTML Audio

HTML Plug-Ins

HTML YouTube Videos

Awesome 😍, you’ve just completed week 4 module. Remember, we took the day-5 off. That’s why in this week we covered a lot 😉. At this point you should be able to:

  • write beautiful HTML code with professional level style guide
  • get familiar with different symbols, emojis, entities, charsets, etc. on HTML
  • know what is URL & how it works
  • know a little bit about XHTML
  • build forms on websites
  • attach different medias (sound, videos, images, etc.) on websites

If you still have any doubts or problems understanding the content above, feel free to review this module again next week. Remember, this is a self-paced, step-by-step learning process. You can take as much time as you need, so don't feel pressured or discouraged.


All the sources are collected from YouTube, MDN, W3Schools, WebDev, different blog sites, & roadmap.sh.

That’s it for this week. See you on the week 5. Till then happy coding 😉.