Elzero Web School's 2021 full HTML course: a structured intro to HTML5 covering structure, semantics, forms, meta tags, and accessibility, with setup tips.
Key Takeaways
- HTML provides the structural foundation of web pages, while CSS and JavaScript add styling and behavior.
- HTML5 introduces semantic elements and native form controls that reduce the need for JavaScript workarounds.
- Meta tags and accessibility features like captions and descriptions are important for SEO, social sharing, and inclusive design.
- Self-directed research and setting clear learning goals are emphasized as essential to learning web development.
What the video covers
- The video introduces a new 2021 HTML course from Elzero Web School, replacing older HTML4/HTML5 content with improved video and audio quality.
- CSS content was removed from the course, and the Canvas section was dropped because it requires JavaScript knowledge; the Canvas course remains available on the channel.
- HTML (HyperText Markup Language) is described as the structural layer of a web page, analogous to the skeleton of a ship or a building, with CSS handling appearance later.
- The speaker explains language versioning (HTML 3, 4, 5) and notes that this course covers HTML through the fifth version.
- Prerequisites include a text editor (Visual Studio Code or Atom), a modern browser, and basic Windows and internet literacy.
- The instructor repeatedly encourages self-directed searching for unfamiliar terms rather than asking others.
- Topics covered include meta tags (for copyright, authorship, and social sharing previews), text formatting elements like B, and definition lists (DL, DT, DD).
- HTML5 semantic elements such as article/section-style structure are presented as improvements over generic div containers.
- Subtitles, captions, and descriptions are explained as accessibility features for deaf, hard-of-hearing, and blind users.
- Form input types are demonstrated, including number inputs with min/max constraints and date pickers built natively into HTML.
Chapters
- 00:00Introduction and Course Updates
- 02:00What Is HTML and Why It Matters
- 06:00Prerequisites and Tools Needed
- 14:00Meta Tags and Document Metadata
- 28:20Text Formatting and Lists
- 50:00Semantic HTML5 Elements
- 73:20Accessibility: Captions and Subtitles
- 96:40Form Inputs and Input Types
- 126:40Accessibility Best Practices
Full Transcript — Download SRT & Markdown
Speaker A
In the name of God, the Most Gracious, the Most Merciful, and praise be to God, the Lord of the worlds, and may the prayers and peace be upon the most noble messengers, our master Muhammad. Today, insha'Allah, we will start with a course on HTML in 2021. If you are one of the old people present in the channel, then you know that we have a course on HTML4 and HTML5. If you are new to the channel or you are starting to learn from this
Speaker A
course, all these slides that I will talk about have nothing to do with it at all. All these slides are for the old people to understand why I made a new course. First of all, the old content, many people were afraid of seeing the new year and they said it's been 6 or 7 years, even though the content is good and there is no problem at all But we had to make new content this year, and at the same time, we had to face some negatives and take feedback from people And improve the
Speaker A
things that people were asking about in the last course We have new content and new information in the course We have a new quality, the videos have better quality, the sound is better The editor I work with is better and the things we work with are newer and consistent with the current A lot of people were annoyed by the CSS in the course and felt it was wrong, even though I said in the last video that it shouldn't be
Speaker A
wrong because these two languages are connected together So there is no problem at all, we removed everything that is related to CSS and from the keywords we only talk about it, not more, we say what you will learn in CSS, but we did not write keywords or have anything to do with CSS at all We removed the Canvas course because it requires an experience in JavaScript and this also caused some confusion. The whole Canvas course is in
Speaker A
the channel and it is recorded and you can access it when you get it. We had a course from the 4th and 5th editions of Htm We merged them together and this course is now included in the 4th and 5th editions without any problems and you don't need to see any courses or anything The content is very good and you can see it without any problems I will tell you again that the content is available and I will reply to the comments that are in it and there is no problem at all and it is
Speaker A
impossible to delete it, God willing, or anything like that. I mean, if you want to see the old or the new, it's up to you. You will take the same information, God willing, and if there is a comment that you wrote, I will reply to it, God willing. Okay, let's go to the people who entered to learn HTML and let's say that if you are new to the course, this is your beginning, this slide. HTML is the abbreviation for Hyper Text Markup Language I want to tell you about something very
Speaker A
important before I continue and translate for you Don't focus on the Arabic meaning because it is misleading Translation is not the point Translation can help you sometimes but not always So don't focus on translation, the language of the dictionary, the description, the description of the web, all of these things don't focus on it at all You just need to know what language you are using and what you will learn from it and what the
Speaker A
meaning of the word is Sometimes you will get theory exams and all of these things By God, if you like the translation, it's up to you, there is no problem at all Our language today is the main language for building the website building the structure of the website Why the structure? I will tell you now if you have a ship before this ship is put on it and it gets oiled and all that, they will only build the structure of the ship The structure is the wood that is connected to each other If
Speaker A
we apply this to buildings, you will find that the building also has iron bars and other things Before the building is being built and the building is being oiled and all that stuff This is called the structure If we apply this to the human being and I don't like the example of the human being Let's say that the HTML is the human's structure Before you see the structure above the human's structure and the meat and the skin and the hair and
Speaker A
all that stuff All of this is done by HTML which is the construction of the page After the future, you will learn the language we agreed on, CSS language So you can deal with colors, lines, and pictures Before we start, we will talk about versions. You will find a lot of apps that work on versions Photoshop, drawing, Windows 7, 10, and even XP and Millenium What is the idea of exportation? In the world of software engineering, software has exports, and new exports are imported from it. These new exports solve problems, facilitate things that people did in a difficult way, remove things that people do not use, and always do a lot of things. This is the successor.
Speaker A
So even in programming languages, design languages, and languages we deal with in this world, there are still exports. HTML had exports of 3, 4, 5, and hopefully in the future, HTML will be released in the 6th version and so on. Why is this happening? The same story. New items, new elements, new things that no one uses, things that were difficult to do in an easy way, and so on. So every release comes with something new and beautiful. This
Speaker A
course explains all of HTML. It has nothing to do with a specific release. It explains HTML to the end of the release in this video, which is the fifth release. Okay. Why do I learn HTML? If you are a front end, back end, mobile developer, or a report writer, you need to learn this language to enter this world I will ask you a question and you should ask yourself how did you come to this course? I came to you through a teaching course on the website and this course tells you that
Speaker A
you need this language or this language so you either front end or back end because of that you are coming to learn this course this is great and beautiful and we have now something very important what do I need to learn? This is the most important thing in the world People who are still under the age of zero, who don't know anything about the world You need a text editor program This is the text editor that you write the code that the web browser sees to make the page look like
Speaker A
The best two we can work with in this time is Visual Studio Code and Atom You will see them when we start the course and how to download them and see their appearance and everything you can imagine We just know each other here You need an internet browser, a browser like Google Chrome or Firefox Developer Edition You need to know a little bit about Windows and the internet You can't just go to college from the library You can't have no experience in Windows You can't even know what Ctrl+C
Speaker A
does, which is the copy and paste You can't even know the easiest shortcuts in Windows, like Ctrl+E So, take an idea about Windows, it won't be a problem to find a course for beginners that teaches you some things about Windows Take a course that gives you information about the internet, no problem at all Some shortcuts in the browser that you work on Information, articles written, science has no lies, no problem at all even if it is a course for
Speaker A
people under zero So you can enter this world and have some information Always search. You will notice that this point is written a lot for you. You will find that every little bit I will remind you of this point during the course. Always search. Everything you will see in the video in front of you, if you find a word that you do not understand, go and search for it. You will gain a lot of information. And I advise you not to ask anyone. When
Speaker A
you go to search for yourself, you will learn well. Okay, set a target. If you entered this course and you don't have a target, you will ask me what I will do with this language. This is the first question that I was asked. What will I do when I learn? You will not do anything. If you didn't know where to go, all the ways lead to there. You don't have a goal. Anything that comes to you will be the goal. Therefore, determine your goal. My goal is to be a front-end
Speaker A
developer or back-end developer or do the job of the client. Any goal will make you learn the language, God willing, in a comfortable way. And nothing will leave you bored or anything. Focus is very important If you have a problem with your friends or family, don't try to remember it at that time Try to separate life from the time you remember it in Then, always search Always search The most important thing will teach you in this field
Speaker A
and make you more advanced The research will take you to a world that the instructor won't take you to The instructor has a set of videos with a scenario that he will walk through The research will make you walk through other scenarios and learn new information start with any idea, no matter how much you want to learn, for example, I'm learning an HTML course and I like books I'll do a bookstore, an online store, any design in the world and
Speaker A
I'm learning a new lesson, every time I get an information, I apply it in my idea which by the way, can be a very good idea, no problem at all the important thing is to apply what you learned in this idea All you have to do is apply it. The last thing is always search. But don't ask. Before you ask, search a lot. If you ask someone and he solves the problem, he'll lose the good information you took from the research. How to study in this course properly First
Speaker A
of all, you will see the videos in focus as we agreed You will watch the video 1, 2, 3, 4, and 5 for example Then you will go to the website zero.org Then all the links will be in the video description You will see the code that was written in the course The code, if there are slides, you will see it Then you will enter the assignments The assignments are costs for a certain number of classes For example, from 1 to 5 You will find some assignments requirements that you need These requirements
Speaker A
will show if you understood or not You will ask for requirements to know if you understood the 5 videos or not After that you will finish the 5, 3 or 4 videos And you will find the assignments that you need to solve and so on. Now, how do I make sure that I'm right? There are many ways to make sure that I'm right. You might have a mentor who will see your code or you can join any technical group, whether it's Zero Web
Speaker A
School or any of the great groups on Facebook that are specialized in technology. You can share your opinion and say, "This is the assignment and this is the solution, so am I right or not?" and take my opinion. You will find great people who will respond to you and help you. Now we know how to memorize, we started to learn about the language and then we will start to learn the practical way Today we will talk about the elements of HTML language any information that I will
Speaker A
mention in this video, you are not required to understand or memorize it these are just some random information to understand before you start writing code and creating these elements by yourself I am not asking you to look at me and see what I am doing Today we will see together a google website, a website like ElZero.org Any website you choose, you can apply it to what I will do Our website is a set of elements, specifically in HTML language, that form the page or the form of the
Speaker A
page that you see in front of you All of these elements, each element has a specific element, each element has a name, each element is different All of these elements we will learn by God's will in detail To start looking at these elements, you have to go to the website and click on "View Page Source" or press CTRL+U View Page Source will bring you the page source that we created on this page. You can see this on any website. Not only that, we have something called the developer tool,
Speaker A
we will talk about it in detail. You can for example in an element like this, if you want to know what kind of element is this, you click on the right and say inspect. This inspect is like the researchers, you can check what this element is. You will find the element here, the words inside and the type of the element. And this is another element. And by the arrow above this, I will go for example, this is another element, a picture. The same story is found in Google. We can do this here to make
Speaker A
sure. This is one image, this is another one. All of these are elements that make up our web page. We agreed on that, guys. We'll talk about it in detail, God willing. Okay. We said in the introduction of the course that the HTML language It builds the structure of the web, but I don't think this is a structure If we assume that this website is a human, I don't think this is a human body structure It's a complete
Speaker A
human, with flesh and blood, wearing a dress, glasses and a scarf, and he's relaxing himself at the end I'll show you the shape of the website without the language that defines the website Which we will have a complete and detailed course, by God's will, which is the CSS language Let's go down a little bit and find the CSS file I'll just remove it and show you our web page which is the main structure This is our page without the languages that make up the
Speaker A
page This is the shape of our page, as you can see it's a structure and there are words and pictures There are no combinations, there is no beautiful shape that you saw a while ago And this is what we can call the structure of the page This is great, we understood the idea and we know the requirement. You will enter Google and type "Download Visual Studio Code" Visual Studio Code is the first editor of the two that we specify and the second is Atom. You will type "Download Atom" and the two are
Speaker A
available. In Visual Studio Code, you have the Windows, Linux and Mac versions. Choose the one that suits your operating system. Most people use Windows so you can choose Windows. You can put this next to it and the two will be with you. And you can work on both until you see which one is suitable. I will tell you again, as I said in the previous video, the one you write here or here will get the same result. But it's up to you. There is one that is comfortable and one that is not
Speaker A
comfortable. Its colors are beautiful and its colors are not beautiful. This is for example, you saw it well, this is not. You can do it yourself and you have no problem. This is the icon of Visual Studio Code and this is the icon of Atom. You will find the two icons in the icon in front of you. Congratulations on your start.
Speaker A
Today we will start to build our first page When you are building any new project or project you should learn some professional skills before you start to build it First of all, don't forget to create a folder on the desktop with a test cache Why do you throw these desktop folders in the Recycle Bin in the future? No, this is your project and your career that you will complete You should build your project in a respectable place and start to build a
Speaker A
folder with the name of the project Try to avoid the Arabic names and try to avoid distances. In the future, when you learn commands and become a hacker user and learn how to deal with routes and all that, you will face problems in the space and in the Arabic names and all that. So I can write here my project. My project will contain all my files that I will create and deal with and do all my work with Now you have chosen a project that you will do a book store for
Speaker A
example You will do a book library, you will do for example your mother is a doctor or anything else and you want to start the journey from the beginning To do something special for the festival, write for example the name of the festival here, this will be your project I will do a book store, so I will write here book store like this Then we will go to our program, Visual Studio Code or Atom that you have chosen and you will tell it Open Folder Open Folder opens your project that has all your
Speaker A
files here in the program so you can deal with all the files. It means that you do not hold one file and deal with it like this and that's it. No, you will learn the system of the projects correctly. Here is Open Folder like this and I will enter the D and I will tell it then select folder now I have selected the folder and I will add my files and all the things I need to do in my project The first file is the main file of our
Speaker A
HTML page that we need to create the elements and learn our language with. You have a choice here called add file or new file here and you can click on the right to say new file. The same thing, the two are the same. We will call our file index.html. Index, guys, comes to the name and to the extension. This .html is called extension, extension of the file that identifies index.pdf.mb3.html index is an advanced information, if you don't like it or you found a problem with
Speaker A
it, forget it the servers that you will be using in the future, you will be able to use them to search for a file named index regardless of the language index.js, index.html, index.php, any extension you can search for a file named index that's why you will always find this name for the file great Let's start with the first element we have, the first element we create with the page is the HTML element, which is our first element. The elements we
Speaker A
saw in the previous video and we created on the websites, our elements are called HTML Tag. HTML Tag, this is its name. How do we do this? We start with a smaller sign, which is the "Shift" and the "W" in the keyboard and write the name of the element like this, then a bigger sign, which is also the "Shift" and the "W" Notice that the editor will immediately create the closing tag for the HTML text The elements have an opening tag and a closing tag Some elements don't have a closing tag The
Speaker A
HTML text will contain a lot of content You open the text and close it with the same name but with a slash before it This is how it looks inline, so you can see it. And here we press enter to start putting elements inside. Here we need to learn some advanced information, God willing, because it will be very useful. First of all, in Visual Studio Code, there are great things. If you go and open the element like this, it will bring you some information about it. This is a great thing and it
Speaker A
will help you when you learn. It wrote HTML element represents the root of an HTML document. Our HTML page this is the root of the whole thing when you connect all the elements you will notice that when you press enter a step will appear in front of you this step is called tab why does it do this move? because you will put elements inside elements inside elements inside elements if you didn't do this move you will find all the
Speaker A
elements on the same line and you will not know where the beginning and the end are. One moment, I want to see an example for this. I will tell you that I know. Let's do a page source here and see here, when you have many elements like this, if each of them is on the same line, these elements are not connected. I will show you a very simple thing. If we took all what you see here, we put it on the same page here, an experiment, I will call it a test.
Speaker A
I will show you the idea to start the demonstration. This is our shape here. You will see that the elements are now coordinated. I made a coordinate for it and it remained as you see. The element inside is an element inside is an element inside is an element. You see, everything in the level increases in front of us. If you came now, I don't want you to serve this shape. If you came now, you didn't do this move, you know
Speaker A
what will happen. You will find that there is an element at the beginning here. and you don't know where it ends because they are all on the same line. That's why you need to do formatting for the code. This is called formatting. So that your code is formatted, clean, and you'll understand when you see the code. How do we do this formatting if we didn't do this? By tabbing. If you click tab here, it'll take you to the tab. See? Shift +
Speaker A
Tab will take you back. That's how we coordinate. Great! Inside the HTML page we have two important elements that you can remember with the human body. We have the head element and the body element.
Speaker A
The body is the body of our page, it contains all the content that the person sees, it contains all the words that you see in front of you, everything from the first image to the bottom is in the body. What is the head? The head contains something called Metadata, which is information about the page. These are instructions for the user to see how to deal with the page The name of the page, for example, which is written on top of it, is in the head Do you see it? The
Speaker A
top of it at all Information about the page when Google comes to archive your page or takes information from it It takes it from this part, not from the content of this page here Some information like this, we will talk about it in detail in the video of the head Which is a video for itself Today we want to open our first page after some information we learned I don't want to go out and I don't have a page We will start with the first page called title The title is the name of the page here You
Speaker A
have book store right? We will write here book store The book store is the title of the page that you will see when you come to the page and click on it to see it Then inside the page you will write this is my book store and write welcome. That's it for the experiment. We will save and go to our first page. This is the bookstore and this is our page. We will open it. It is written above bookstore in the title and here this is my bookstore welcome. This is the first
Speaker A
thing we did. We understood from it what it means to create a new page. We understood the first tips to build a project from scratch. to be able to enter the information that's coming. Notice what we did, we'll try it quickly. Here, I'll press the "Shift + Tab" button, and it'll take me back. Here's the same thing, and here's the same thing. I found the "Boys" configuration, I'll press here, "Tab", here, I'll press "Tab", and it'll take me back. I'll
Speaker A
increase all of this to take me back, and I'll press "Tab". That's how the configuration is correct. It'll stand on this body, and its end is here. This head is here. So now I know where everything ends. you write a code, so congratulations, you started like the experts today we will talk about the head element and the elements inside it and we will take some advanced information let's do Ctrl + + to zoom in on the code and close the Explorer tab to focus here in the last videos we talked about
Speaker A
a word called Metadata Metadata is information about information this is the translation or meaning of the word Metadata Today we have the first element in the head, an element called meta First thing we need to know about the meta before we go inside and talk about it and do anything about it This is an element of the self closing tag The element that doesn't have a closing tag You will find that the title has a closing tag because it is inside content in this way, the body
Speaker A
is inside content so it has a closing tag, the HTML inside it is content so it has a closing tag and so on. The meta element does not have a closing tag, that's why you will find that it is put a slash at the end like this and this indicates that it is a self closing tag, at the end the element closes itself. Ok, very great. Inside this meta we will use something called attributes These attributes are additional attributes in
Speaker A
the element that express information about it and distinguish an element from another and so on We will talk about it in a complete video about attributes by the will of God Ok, the first attribute in the meta is called CharSet or CharacterSet What is CharacterSet? Character is any letter or symbol you write in your content CharacterSet is called in Arabic or in the videos that explain this, the symbol The type of symbol or the type of content, the characters in your content We used to use a
Speaker A
symbol called ISO for example 8859-1 this is a type of symbol that doesn't support Arabic if we write here "Assalamu Alaikum" like this and we go to our website, you will find the letters like this because it doesn't support these characters if we use the international symbol that all websites use, called UTF-8 you will find it supports this this is an advanced information, you only need to know what this symbol means now This is our book title
Speaker A
store and let's look at this together this is our book store where will it appear as you can see it didn't appear here at all, I didn't tell you that the information in this head is about data, information about your data, instructions or instructions you give to the browser to tell him where to go and where to come from, so this is not information that will appear at all, but where will this information appear? let's see together a site like amazon or a
Speaker A
site like a market, let's look for a market this is a market site, you will find it here, let's get the results like this You will find a website called Egypt.sooc.com Let's open this website and search for two things in its page source The first thing we need to search for is the description Let's write in the search box, description This is the meta name = description, the content = discover and buy the best deals electronics. Let's see
Speaker A
together this sentence. Do you see it? Discover and buy the best deals. This is our sentence. This is the description of your application. So what you write in the meta description appears in this square. So what is this big first word? This is the title of the page. If we search for the title here or any other search, it's up here. BestDealOnSuk.com Egypt, then White Friday Sale. Let's see together. BestDealOnSuk.com Egypt, White Friday Sale. So now we have two things we see from our meter.
Speaker A
the title and the meta description. So when I make my description like this and the content is like this, you will find that anyone who searches on my website will find it written "bookstore" or "L0 bookstore" and this description that you have written will be under your title. This is great and everything is fine. Thank God. Are there many other types of meta? But you are not required to learn it now. Come here, if you write here "meta" like this and searched
Speaker A
you will find articles about the meta you will find many types of meta you can use it in a day or two meta for copyright if you have something that has copyright and you want to tell people before they forget it if you want to tell people who writes the articles, many things you have a website like Facebook it has a meta for it so that people who share an article from their website to Facebook can control the word that will appear and the content and the image and where it will go and all that
Speaker A
After this course, you can use another website that is famous and have its own meta. The browser supports this meta and starts using it. You don't need to know all the meta in the world. You use the meta you want. You will tell me, does everyone really invent something? I tell you, let's look at the WordPress. This is a content management system. It has a special meta that you can find and use it in another place It's called "Meta Name Generator" and "Content WordPress" It has a special
Speaker A
meta that you can use in another place It has a special meta that you can use in another place It has a special meta that you can use in another place After we finished the meta, we have two very important elements here Style element, and this is specific to CSS language, which we will take a full course on, God willing You don't need to focus here, unfortunately the content of the previous courses in HTML when I used CSS code, people
Speaker A
were confused and scared Although these two languages will not be separated from each other completely Ok, this style is a tag that concerns CSS blocks You write CSS blocks inside here, like this, I will give you an example, like this I will tell it that I want the background color of my page to be red I don't want you to focus on this at all, these are things we will learn I just knew that I can put the styling in the future when I learn CSS language The same thing, when I learn JavaScript
Speaker A
language I can put all my script tags here You can notice that the styling and the script are not things that appear on the page, not content that appears on the page. These are information that the browser knows that I want to fix the body in the color of the background red or make it big or do this. The same thing in the script, I tell him that I want to press the button to do this because there is no content. These
Speaker A
are all information for the visitor. In the same way, we have an element called Link This element has two attributes, as you saw, automatically, when I wrote the link, it made them real, which is the relationship, which is the relationship of this file with the page I'm in and the href, which we will talk about in detail, God willing, when we come to learn the CSS part and the pictures and all these things, it tells you where the file is,
Speaker A
the one for this page, each page, God willing, you will do it after you it will have a styling file that adjusts the shape and lines and all of that so here it tells you where this file is located and where to find it so that's it guys, thank god we finished the most important elements in the head and we understood everything by the will of god and today inshallah we will talk about something very important and it is the comment or the comment what is the comment and why we use it and for what
Speaker A
and how we use it all of this we will discuss together by the will of god Let me give you a use case for something that can really happen in the job. I worked with a team and I made a meta or a team meta that the team doesn't know. The meta's name is zero and its content is the release of our application. I know what this Mita does, but the team doesn't know. How do you understand what this Mita does? You'll say, "I'll call my friend Mahmoud." I know you have a
Speaker A
friend named Mahmoud. "I'll tell him to be careful, I've added this and that." This is a job under the rug. It's not professional. You have to talk to your friend and meet him for coffee and tell him. In programming languages, design languages, and all the languages you deal with, you'll find something called Comment. You describe what this thing does to people and yourself. After a while, you can go back to your code to refactor it You will find that
Speaker A
you don't remember why you did this You can write a code, then write a comment for you and also for people How to write a comment? A smaller sign, a surprise sign, which is Shift and number 1 2 dash, write your comment, then 2 dash, then You will find that the color of the comment is different from the normal color of the comment. I will write "This is comment" This is a comment, its color is green. I write here what I want to show the person why I use this. This is the
Speaker A
benefit of the comment. If you are just starting your life, you will learn a very nice thing. To write a comment on everything so you don't forget. I will write "This is" or "This" meta is for blah blah blah if you write a text like this and you want to convert the comment in your editor in a short way Ctrl + Z will convert the comment like this if you want to return it again Ctrl + Z will return it again like this this is a comment that I used in the
Speaker A
beginning of my life because I know and learn everything I do not only that but you can convert the elements you worked on to the comment because you don't want it to appear if I did this element I changed the comment, you will go to the page and you will not find it in the page source. Someone asked me what is the wisdom behind me not to focus on an element like this? What is the wisdom behind me doing this? I worked on a task and I did a lot of work and I still don't
Speaker A
want to show it now. So I focus on an element like this until After you finish, you can go to the "Tamish" tab and tell it that you finished the task. It will tell you to delete it and try it again. This is not always a good solution. Because you are trying the code in this environment or on this page. So it is not always good to take a code from here and delete it. There are many things that can distort the idea. The easiest thing is to comment the code and when it returns, I will
Speaker A
try it again and do everything. Ok, what is this? Now guys, we have something called single line comment and something called multiple line comment. The multiple line means I have a comment on more than one line. You will say, why more than one line? Because you can write your life story in a comment. You can write 5 or 6 lines that you explain why you made this meta. So here I will say for example, comment line 1, I will change the comment like
Speaker A
this and here I want to write another line and a third one, will I do this? No, this is wrong, I will do this enter here and enter here and write comment line 1 and line 2 and line 3. If you want to know the movement, if you're standing on an element, you can press Alt + Shift + arrow on the bottom to get a copy of it. And Alt + Shift + arrow on the top to get a copy of it, but this time it's not on the top. So, I did the multiple line comment and I did the whole thing. In the future, when
Speaker A
God wills it and you're different, you'll know that there are things better than the comment, which is called documentation and you know that one day you might get rid of the comment but in the beginning of your life, no now when you're learning, ask yourself that everything you're hesitating about meaning you have a problem understanding it or you don't understand it 100% write before it comment this is for blah blah blah and you're still learning so the process is nice with
Speaker A
you and then God willing you'll start getting rid of the comments one by one Today we will talk about the Doctype. Today's lesson has some advanced information. If we had some problems with the horizontal lines we used to see before, the information would be useful for you by 300%. I told you to focus on it. Now it is useful and everything, but don't get tired of it to the extreme. Just understand the idea and know that we must use the Doctype on all our pages. The doctype is not an answer from HTML elements, it is
Speaker A
an instruction that the user gets to tell the user that he is working on a HTML version of his page. Now guys, until the video we are working on We are working on HTML5 This is the doc type or line that means I am working on HTML5 Before that, if you are an old person and working on HTML4 You would see the doc type code like this And there are many types of doc type codes Of course, the code of HTML5 is very short as you can see Our code is
Speaker A
insensitive, meaning it can you write small capital, meaning the letters are not sensitive at all What is the wisdom behind the doctype? This is the information I'm giving you that is a bit advanced and you don't need to go into it too much The browser renders your page so you can see it in two ways A way called Quark's mode and a way called Standard mode If you didn't define your doctype on this page It makes the browser go to the Quark's mode I honestly don't like to translate all
Speaker A
the things into Arabic because sometimes it sounds a bit weird Quark smooth has some elements that you can't support in the language. You can find an element or feature that looks different and strange because it doesn't support this. Let's take a quick look at our page here in Firefox. Click on the right and select "View Page Info" It will bring you a "Render Mode" which is the way to display the page in the Quark Mode Because you didn't specify the Doctype If
Speaker A
you specify the Doctype in this way, you will find the page is rendering in a "Standard Mode" This is what supports your page and doesn't cause any problems So, it is very important that the first line of the HTML is the one that will be created on any page as long as you are working on the 5th edition. God willing, in the future, God will give you life, you don't know what the new editions will do. If you go to a site like Google and open the Pagesource, you will find the
Speaker A
first line of the HTML. you will find this in any website you open so you are sure that you are rendering the page in the standard mode and not in the quirks mode and hopefully you won't face any problems in the horizontal mode so let's just leave the lesson with one thing even if you find me in the next lesson and I didn't write this line you must write it in all the pages that you will create in your life
Speaker A
Today we will talk about the heading, the heading is the titles The titles are very simple things that may take 30 seconds to explain but we will use the video to know some cool information and problems that people had In the heading, we have 6 levels H1 to H6 H1 is the top level in the heading H1 is the highest level in the heading Let's see together, if I came for example and the text I wrote is "This is my POC Store" we want to look at it and click on inspect as we learned click mean and
Speaker A
inspect now we will notice that there are no adjustments to the text there is no adjustment to enlarge the text there is nothing that affects the size of the text Let's look at something and see what it means. User Agent Style Sheet. Let's memorize this sentence to explain it in detail. But after we do the first heading. Let's do the element h1, then slash h1, and write inside book h1. store, that's it. Our H1, you will notice something very strange in it, the first thing
Speaker A
you will notice is that the words are different from the words we wrote, this is the normal words we wrote, which is this, but this H1 is different, you see the amount of combinations, the combinations of CSS that we agreed to learn in CSS course, by God's will, where are these combinations from? I did not do it, these combinations are present in the user agent, who is the user agent? This user agent is the browser we are using right now. It is Google Chrome. What it did is it added many
Speaker A
connections to distinguish the H1 element. Why does it distinguish it? Because the elements Custom styling This is great, does this mean that I have some elements that are already in the original CSS? Yes, and when you learn CSS you will be able to control these elements and change them and do whatever you want. Let's move on to the usage parameters. You said that I have H1, H2, H3, H4, H5, and H6. Let's see them together quickly. This is H2, this is
Speaker A
H3, this is H4, and this is H5. and this is H6 we will see them together now you will find here that this is a big size if you go to the next one you will find the font size this is a feature of CSS we will learn it you will find the lines are small you see guys the size is small because these are the levels of our heading This is a great thing, there is no problem at all. How is their proper usage? H1 is considered the title of the
Speaker A
book. Can your book have more than one title? No, it is only one title written on the cover. H1 is the store's title, it doesn't repeat If you tried to repeat it with code, it would, but it's not logical And to make your site a friend of the search engines and valid and made in a correct and professional way H1 should be one only, like this So, we finished H1, this is the book store, and we entered, for example, if we assume that this is a book, we entered this book, we found that there is
Speaker A
more than a chapter. Which is the first chapter, and the second, and the third, and so on. Your chapter has an address. For example, it's the crime scene. This is the chapter's address. The chapter's address is the heading after the one, immediately. A tree arrangement. So, this is the chapter title. Very nice. Inside this chapter, there are stories. I wrote the name of the chapter, crime scene, inside crime scene there are several situations Each of these situations has
Speaker A
a title and a text or something written in it This title is inside the chapter so the next level is immediately H3 So H3 is inside the title, we call it story title like this, story title inside chapter, because I will show you that it is not outside inside chapter and so on and this is the chapter title inside book so you know who is under it, so we can do them like this just to show you the arrangement not more inside this story you can find different
Speaker A
things if you need a title you can put the level after it immediately and you go to H1 and the chapter title is H3 and inside it is H2 this is called hierarchy or tree arrangement this is wrong the tree arrangement must be correct and I need to tell you to make sure that it is not wrong Some designs are rejected by people in the world market because of the wrong tree arrangement Today we learned about H1 to H6 and we learned about the headings and we learned about their
Speaker A
uses They are used as a title for your section or any part of your design and we will see this together after we learn the rest of the elements We will make practical applications with them Today we will talk about Syntax Syntax is the way of writing code or the structure of code If you have something in Arabic called NAH and in English it's GRUMMER then you have Syntax in programming and computer science It does the same job Let's see how to deal with your code when you make it in spaces For example, if I use the word book I made a lot of spaces and two enter like this and after store the same story and I want to separate between the h1 and the element
Speaker A
below and made a few spaces like this. How will it be dealt with? It will be dealt with that they are visible here in the source but here there is nothing happening. The browser ignores all these distances. This is a logical and clear thing because if for some reason you deleted a code from one place to another and there were distances placed or anything else, the dealings with it will not be done. This is a reason that is absent from the reasons. This
Speaker A
is not the main reason. I will give you some logical things that you know why it ignores the distances. Great. Another important thing is that if I want to make a distance between the heading and the next element, the interval you made is not known how much. There is a zoom here that happens, and a zoom here that decreases. There are many things that you do not even know this area is how much. There are other methods that we
Speaker A
will learn with God willing, how to make distances between elements, whether with HTML elements or with the CSS language when we learn it, God willing. So now we know that the browser will ignore these distances and have no relation to them Now let's talk about the attributes Here we have a line with more attributes And when you dive into the field you will find that there are 5, 6, 7, 10 attributes like these You will find this line until the end
Speaker A
of the street There is a very nice way to arrange attributes like this. It's very normal. There is no problem at all. And you will find that your code is working like a full and there is no problem at all. And if you go here, you will find that the 100 is the same as the honey and there is no problem at all. You can, from the organization, if you want to make a move like this, that you will organize them on the same level. If there is a problem,
Speaker A
it will happen at the end and the code is valid and like a full, there is no problem at all. This is great. The attribute has its name and its value. You can write this value in double quote which is double quotes or single quotes this symbol is called single quotes and this symbol is called double quotes the two quotes together and you can mix them so this is single and this is double the two will be the same there is no problem with them at all the
Speaker A
two double quotes there is no problem at all not only that you can also if this value is one word don't write the single or the double like this and you will find it here also translated and understood there is no problem Note that I am teaching you syntax in this point, you know how to write it But you can't do it this way because it's not organized I just want to show you all the information so you can be professional I told you that you will do this if it is
Speaker A
one word If it is not one word, it will be a problem Why? If you removed this sign and this one more than a word like this Look how it will deal with them This content will see the first word after the sign equals its value Like above, look like this And the name equals the description After that, all of this will consider that all of these are attributes These and these and these and these are attributes Let's see together Here, it wrote name = description, content = this,
Speaker A
+ is, hour, book, store, and the same color of name and content. Which is the attribute color. So, because you didn't put the mark, they are all attributes. That's why double quotes, even in the computer world, when you have a specific path you want to reach, if there are distances, you put them in double quotes. To tell it that this content is not software. This is content only, text, it has nothing to do with software at all. But if it's just one word, as we agreed, there's no problem at all.
Speaker A
There are some other elements that we will deal with in the course We will know some syntax elements that can be closed and other elements that can be not closed and the browser will understand all of this We will try it in the video The video is very simple and small so you know how to deal with distances and even understand the word syntax and know how to deal with attributes
Speaker A
Today we will talk about an important element that you will use a lot in your life and it is the paragraph element Let me tell you an example, if I have a line like this is my bookstore welcome and I want to say here we have a big sale it will tell me that in syntax class the browser ignores these spaces and won't come under each other. It's logical, great words. Even if I put a comment between them, for example, symbol comment
Speaker A
like this, nothing will happen and they will stay next to each other. Because this text, there is nothing to tell it that I need this text under it. This is a great feature. Now, we used the paragraph element, which is a text element. If you have anything in your application that requires a text element, you can use the paragraph. If you have a title for anything, you can use one of the levels in the heading. I will put this
Speaker A
sentence in a paragraph and the other sentence in another paragraph and not only that, I will put them next to each other on the same surface and I will prove to you that the element of this paragraph is an element called block element before I go, will both be next to each other or below each other? they will be below each other as you can see Paragraph element is one of the elements, the block element If you look here in the user agent
Speaker A
style sheet You will find that there is something called display block We will learn it in the CSS course The block is one of the elements, the second element is called inline element The block element puts a space before and after it so that the elements don't come next to it The block element is full and fills the space until it comes next to it Until we learn CSS, you will know how to make the elements come next to each other
Speaker A
the block element is like this, the inline doesn't work like this, if you put elements inline like the last one when we put the text, it brings them all together all the text that you will put, it brings them together, meaning if you write here line 1 then this one, line 2, then line 3 all of these are inline texts, all of them will be next to each other 1, 2, 3 next to each other our paragraph also has a function that the user
Speaker A
agent gives it which is the distances the margin before and after, see guys the distances because these are the logical distances that differentiate one text from another I will make a move here, I hope you don't get bored of it and it has nothing to do with anything because I just want to prove you the idea If you did this, for example, this paragraph and the one after that you did this You will find that they are connected to each other and
Speaker A
this is not logical at all That's why the user agent makes it a block and puts gaps between the previous and the next elements so that they are not connected in this way The paragraph is one of the most important things that you will use a lot in your life So we just need to know a little bit about it until we reach the inline and block video and make a lot of comparisons If you have a book and you want to make a book and now you want to make a book,
Speaker A
you will have the book heading in the website, which is H1 Bookstore and below it is the description of the website where you can find the books and so on. Inside the chapters, you will have H2 chapter title and all the stories or the websites will be in the text sections.
Speaker A
Today we will talk about attributes Attributes are elements of an element, and they can have more information about an element, or they can differentiate an element from another We have two things we need to know before we enter the world of attributes and try them We have something called global attributes and something called element attributes Global attributes are attributes that can be used globally on any element in the world I want to learn and research about this
Speaker A
topic If you go to google and type global attributes HTML or global attributes list You will get a list with attributes that you can use on all the elements in the world Any element you see, you can add it to the list For example, I have two paragraphs like this. One is called "This is my bookstore, welcome" and the other is called "We have a big sale". If I want to type them in CSS, how can I distinguish between them? If I told it to type the paragraphs on
Speaker A
the page, it will type them. so we have an attribute called class we will talk about it in detail I will tell it that this is 1 it will give it a class called 1 and the other will give it a class called 2 so I am not blaming each other or not? correct this class is from the global attributes I can add it to the paragraph, the heading, the body, and everywhere else because it's a global attribute this is a great thing I have a nice attribute called hidden, let's try it
Speaker A
together and this is also a global attribute if I write here hidden like this we'll see what happens in the second paragraph As you can see, it has a display none in CSS, meaning it's not hidden. This is great. This is one of the global attributes we agreed on. You told me that the element itself has its own attributes. This is great and we will see it together. If I came to Sabine for example, I would have done a few elements that we will learn in the next lessons
Speaker A
Let's see what happens when each element is created or the editor by default writes the attributes I will start with the image, I want to put an image on the page, look what happened, source and alt, I put two attributes, why when I made the paragraph I did not put these two, look like this, because the paragraph does not have its own attribute, but the image or the image has its own attribute, so let's try the link, I will make a link, we will learn all this, look like this, it gave me href,
Speaker A
another thing, so this attribute is for this element if I put here a style file, do you remember when I used the link? look what happened you have relationship and href, another thing if I used an element like audio, I put an element like audio, look source if I used an element like video, look source audio and video, the elements have attributes for them and there are global attributes that work on all elements and the other two I will teach you today to
Speaker A
differentiate between them but we will use each element like the link or the image to learn the custom attributes or the attributes that are not global so we know the idea and the attributes and we know that each element has its own properties and we will talk about it in detail and we will use global on all elements that we are working on
Speaker A
Today we will learn together the way of formatting our elements We have some very nice elements that we will learn together You can do formatting of your elements Formatting means coordination You can do work without the intervention of CSS language These are normal things without the CSS language you can do this Let's start with the first thing we have here, which is the p from bold Let's write a comment here to teach these things in the keyboard and at the same time
Speaker A
apply the idea of the comment as we have done This is the first element which is the bold If I have a sentence like this one I need to make it bold with a wide text that is different from the other texts I will put it in a B tag like this The B tag will make this sentence bold You will look at it and see how it is made it's different from the others and the line is bold like this and if you change this line to another you will find it more special than this we have another tag that makes
Speaker A
the same story we will put a copy of it below and we have another tag called strong strong makes the same story exactly the difference between them is a little bit advanced but we will say it because there is no information important text important text important text If I go to a website like Amazon and I found a book I want to buy and I found the author's name in bold, it's fine, it doesn't matter that I have the author's name, it doesn't matter that I know him, I
Speaker A
don't need to know him, or I tell you the seller's name, not the author's name, which is not important at all to know him. but there is another text, Bold, that talks about an important note that this book is not being shipped to Egypt don't buy it because it is not being shipped to Egypt for example, so who is the important text? the important text is the text that tells you that this book is not being shipped not the seller's name
Speaker A
so you can find the seller's name Bold for the Bold because the design wants that to show but the other one is important text that's why it is put in a strong tag the deal with me and the the search engines also search for the information using the strong tag so it's better to separate them when you use them and of course I don't need to tell you that when you learn CSS you will be able to use the bold without having to use the strong or the b We have something
Speaker A
called "i" from italic Italian makes a male text and we have something called "em" like this and this is an emphasized text, the same story like this Italian and emphasized make the same story, they make your text male Let's take a copy of this and I'll come here and tell it I want to put "i" here, then "/i" to see the difference between the three, you will find that the bookstore is now "mayla" this word is used in many things and most of the time you see this in wisdom when
Speaker A
someone writes wisdom, you find the text of wisdom is "mayla" like this, if we did the same thing here, it will do the same thing as we agreed and the difference between them is the same difference we mentioned here this is just a simple text and this is the emphasized text this is also talking about something specific as we agreed on the same difference between them exactly, there is no difference I wrote a sentence like this
Speaker A
and I want to distinguish a word without CSS we have a tag called mark from its name you make a mark the word that you see in a blur like this we see the mark together like this if you come here to search for anything for example the word "a" or let's search for the word "book" see the same thing you see in the search that is the highlight text or the mark text you do it with the tag called mark exactly like this we have something called "U" let's take a copy of them and the "U" is
Speaker A
underlined let's write the mark here and next to it "marked text" or "highlighted text" then the "U" is underlined we will see together that the "U" as you can see is underlined a lot I don't want to tell you that no one uses this technique at all This technique means that this is a link so no one puts a line under the text at all but you have to learn it in case you might need it on the day of the event This is great, we have a tag called small,
Speaker A
small means smaller text like this I will take this text as a copy of it, one copy and write here small Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome
Speaker A
Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome
Speaker A
Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome I the I I a I a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a meaning that all these things are in a line and this is a little smaller than
Speaker A
them and this is used a lot when someone is writing something and wants to put a copyright or a simple sentence or a note or anything so he uses the small in this way so far it is perfect and great we have something called del Deleted text. Deleted text is very nice and simple and fun to use. We will learn how to use it. Now I will write a response to a site like Stack Overflow. Or you wrote an article and there's some information in
Speaker A
that article that Google entered in the search engines and made an archiving or a crawl to your site They took all the content and that's it and anyone who searches for the word will not find it If you change the content every time you delete it, it will cause a problem in your friendship with the search engines There is no trust, there is no trust that you are changing the content a little bit Ok, I was writing a sentence that is a habit,
Speaker A
nice habit, people like habits I want to remove this sentence and I want to put the correct sentence, do I remove the old one and put the new one? No I leave the old one and put it in a tag called Del which is deleted text this text is deleted, it is not valid, it is not correct I wrote the second sentence and corrected it, but I leave this for reference because the one who came back to the article for example, the one who wrote the question, he wants to see what I wrote
Speaker A
before for any reason, you will find that the deleted text is present This way and the other one here These are some of the uses, are there other uses? Yes, there is a very nice main use I have here the price of the product I wrote that my product is 100 dollars in this way The product is 100, great, I made a discount I made this 100 80, so the person will know from where I made the discount And you, I am not sleeping in the site I came and found it 80, so
Speaker A
you are not making a discount But I can do this Dill, 100, this is the old price and the new one is 80. Let's see together. This is 100, this is the new one. So now the person knows the difference between them and knows that there is an old price and everything is fine. We have a text called inserted text. same thing we did before, let's take a copy of this and make it an "ins" instead of a "del" what happened here? the insert text gives you this mark why?
Speaker A
because it's the same as what you did or the opposite of delete text this is the insert text this text is written so you know it's a new addition you read in the article everyday and you read from it everyday and you go down so someone added something new in the article or made something new added for example, an edit or anything the insert text tells you that this text is an addition it wasn't there before Another example, which might be more
Speaker A
accurate than this one I wrote an offer in a store and after that I went another day and put something that wasn't there This might make someone feel confused and feel that I changed the offer When you put the INS or Inserted Ticket, it means that the person knows that this is a new insert that is still there we have two things that you will not use unless you work in Math or Chemistry which are the "SubScript Text" and the "SuperScript" the "Sub" which is the "SubScript" and we will try
Speaker A
them together and the "Sub" which is the "SuperScript" like this for example, I want to write "H" 2,0 this symbol we made in the previous course I want to write it exactly as people who work in chemistry or anyone else who works in this subject I will write here my tag sub we will try this and this as you can see 2 is supposed to be below so we will do here the subscript to show the equations in this way if I have people working in sports and they do the movement that you know that I want to say 2 divided by 2 like this how will I do it? with the
Speaker A
number 22 it will be like this I want 2 divided by 2 so I write here the sub-D, which is the superscript. So, you can say 2x2, as you can see. These are some of the formatting elements that you can use, and most of the time, these are rare to use, if you don't work in websites that have equations or math or all that. These are the main elements that you can format or do the formatting for HTML without the intervention of JavaScript or CSS or any of these things at all.
Speaker A
Today we will learn together an element of elements that your website can never get rid of and that is the link element or the "A" The "A" is a short for anchor or the ship's anchor Our websites are made up of linked pages, one page contains a group of links You click on the link and it takes you to another page, the other page contains other links and so on Until you exit the site and go to another site and repeat the same process The attribute A is the main attribute in A The link you
Speaker A
want to click on A will go to it Our location will be Google, I will write the full pass of Google You can copy it from the Google page directly And here the link text The word that the person will see to click on it will go to this link This word will be for example Google Let's see the link together, let's click on it It will take me to Google as you see This is great, and the link as we agreed, you will find a line below it as we said before Here guys, if we take the user agent's
Speaker A
components, as we agreed that there are some elements that the browser puts its own components You will find that there is something called text decoration, which is the decor of text, put under it underline And when we come to learn CSS as we agreed guys, we will be able to control this underline and delete it and do what we want Great, just like the full block. Is the "a" an "inline" block? No, it's an "inline" block. To make sure, we'll
Speaker A
take a copy of it and instead of "Google" we'll write "Facebook". And here we'll write the same thing, "Facebook". Now we have two links, if this link and this link are block elements You would find one of them in the line and the other one in the line after it But these are inline elements, so they will come next to each other As you can see, because these are inline elements Ok, this is great and beautiful, we have almost understood the general idea of
Speaker A
the links We just need some experiments In our A, we have a very important attribute called Target a target and put the values we want in it there are many values, you can leave it and search for it and it will give you the values you need and use a lot which is the blank if you wrote blank in the target attribute it means that this page will open in a new page one moment to understand what it means the first thing guys, before I write this let's do it like this
Speaker A
and we will do this, where did google open? in the same window that you are in in the same tab, ok if I did this target blank means that if you click on google link it will open in a new page and this is very important because people need you to put links on it and click on it and it will open in a new page so that you don't miss what is here, it may be reading a article or paying, it may be paying, it really pays the product and you opened the same page and lost the job So, you should
Speaker A
know the target attribute. this is a great and nice thing and there is no problem at all and we have some information and we take at once one of the global attributes that exists as we have seen on all of us and it is called title what does title do? it is a title for the link let me tell it go to google and here I will tell it go to facebook this is a title here what happens when I write this title? you go to the link and you stand on it a little bit it tells you go to facebook Something like
Speaker A
tooltip, you can add some words to it before the person clicks it. So, you can warn them about something. Alright. We have a link that can be used to send you a link like this and it can also send you a page that you have If I have another page called test.html next to this one I can say test.html and it will send me to the page Let's take a copy of this page and make a page called test and press it to see if it will send me to it or not I made the page test.html and I will write go to test.html
Speaker A
page and here I will write test next to them we will go together this is google facebook test click on test and it will take me to the page called test.html and this is the page and I will go back to it so we can put the full money for the site or the page name that we need to go to it like this A can take you to a page in your page by selecting an ID from the global attribute and click on the link to take you to this page let's see this idea
Speaker A
together but this time I will write a big paragraph full of texts to fill the page and extend it now we have the word lorem if you click on the tab it will write you these lines which they call abjadhawaz I will take many copies of it and the page will be very long to show you the idea. I will come to a paragraph like this and give it an ID. This is one of the attributes that I can distinguish from my content and write a name on it. I want to come to
Speaker A
this A instead of it taking me to the test page. We take a copy of it and write Osama paragraph, it will take me here guys to paragraph on the same page, goto osama paragraph and here I will write the hash and the name of the ID that you specified below, which is Osama, let's see together like this, here is Osama, look where it took me, at the paragraph here, to make sure, we can come here and write a word in the first, zero, to clarify, but not only, and we come back here again, we
Speaker A
zoom in, and press the arrow button and it will give you the zero, lorim and so on, nice, press this arrow button we have something last in the paragraph or we can remove these paragraphs, we just tried it we have something else here that is very important in the link, and that is that the link can take you to an email, so when you write a link in this href, you will write an email here to and write here the person's email [email protected] this is an email and
Speaker A
write contact me or mail me if you want Contact me, and now I will check the email If you click on contact me, it will open the email application for me to contact this person And once the email is opened, it will put the email that we just added in the "To" box To be very quick, so that the person can contact the person who owns the site directly Today, we will learn together how to save a picture on our page To download the image, you need to learn how to deal with the paths If we learn how to
Speaker A
deal with the paths, we will benefit in the future when we download a CSS file or a JavaScript file Or audio or video or any files that you need to download in your application First thing we need to learn is the tag The image tag You will find that the image tag gives you two things like we tried in the attributes video The source of the image and the alt which is the alternate text If we write a comment like this And I wrote source equals source
Speaker A
And I wrote alt equals alternate text What does this mean? The source is the place where your image is The easiest thing in the world is to import a picture from a place or a website If I come here to a website like the academy and open this picture in a new page I can take it here very easily and add it here and the picture is now there and the topic is over This is great for the picture that is outside We want to import a picture in the design of the building We don't want to go out of the
Speaker A
site We will take another picture and see how to import it Here, it's asking you to place the image. Where is the HTML page? It's here in the folder called Bookstore. And the image? Yes, it's next to it. We'll take the image because it's next to it directly and add it here. The topic is over. The image is now there and you'll find the two images under each other. It's very easy. Okay. What happens with people who have problems
Speaker A
is that the person who doesn't have the extension of this image, what happens at that time is that he writes the wrong extension. Let me tell you to be professional, we will press the Alt button and we will come to the View menu and I will tell him options and here in the tab called view and I will tell it here hide extensions for known file type I will delete the correct sign from it why? because this sign if I taught it or this option if I taught it will delete the extension of
Speaker A
the known files look here with me you see it deleted the extension so you may not know what extension this image has so it is correct that you click on the extension so that the image will be in front of you with the extension of the same name and I will add here and it will appear without any problem. Ok, that's great. Ok, if this image is inside a folder, what is the name of the folder? I have a folder here called Images and I put the image inside it. Ok, that's great. How do you open this
Speaker A
folder? I open it by double clicking, right? Ok, double clicking here will tell it that this is Images slash. That's how you can exactly double click. I entered the images and you will find it inside the image when you download the visual studio. This is the image that is inside the image. I have selected it and it is done. Great. Inside the images, I have divided my products into Home page and Category page. The image is now in the Home page. how to use it? I will go to images then
Speaker A
home then slash then my image, I got the image and thank God I don't have any problem, this way you can enter the folders, this is great, I want another copy of this image to be outside the folder I have, this is not logical but I want to teach you, now guys I will take this image, a copy of it and I will take it out here meaning that the folder of the Pogstore is not here, it is outside. Here in Windows, you do this to say back or go up, right? How do we do this? You say dot dot
Speaker A
slash. This is how it took me out. Look, guys, it brought me my folders and the picture. I press it, and this is how I called it. Now I have three photos under each other to call them all in the correct way. dealing with the paths is slash enter inside slash enter inside and so on but if you want to go out a step dot dot slash will give you a step out so this is not logical as I told you that you can't put project files outside the place you are in ok, this is great I will
Speaker A
choose another image but I will change its name like this I don't have an image called asasd or let's say missing image, I don't have a picture called missing image, the first thing you need to learn when you are working on the site, you will find an error here If you go to the Google Chrome browser console It will tell you about the errors you face on the page We will learn this in the next courses, and I will repeat this information to
Speaker A
focus on it Here it tells you "error file not found" There is no file called "missing image" So it warns you to see its location If this file is not there, I can use the "alternate text" to write a word That this file was a logo, for example "logo testing" why I write this logo testing? because if the image doesn't appear or something happens to prevent it from appearing, the alternate text will be banned if the image
Speaker A
appears, then it's over here, will not show it won't be banned because alternate text is an alternative text but it won't be banned if the image is there, but if it's not there, then it will be banned So, we have learned about photos and how to use them and their properties. We have two attributes for the photo, wits and height. I don't recommend using them, we use them in CSS better, but I will show you the idea. Maybe I will tell them that the wits of the photo is 100 pixels, and the
Speaker A
first photo will be smaller, see? the first image is small for me because I put the width of it 100 and I can say 200 or 300 to see it like this the best is that when you enter to learn CSS that you customize the image with CSS not with HTML it means it is better until you learn and repeat yourself by God's will anyway the width and height are present and God willing when we dive into CSS we will learn what is a pixel and what are the distances and what are
Speaker A
the dimensions and dimensions and such Here you don't need to know the width and height to use them in the element of the image. Today we will deal with lists. Lists are the most common things you will use in your design and they contain great things and you will enjoy them a lot. We have three types of lists The first type is the unordered list Let's take them together The UL which is the unordered list What does it mean? It means an unordered list The meaning of the word unordered
Speaker A
is that we will have an unordered list How do we use it? The ul element is the main element of our list and it contains the elements that you will put together without any order. These elements are the tag called li which is the list items. If I write here list items very nice, or a list item to be unique I will write here the languages that I want to learn HTML, CSS, and JS these are the languages that I want to learn the first thing you notice is that
Speaker A
the user agent has the same combinations First of all, the UL itself has a top and bottom edges and also a inner edge on the left because the words below it, or you notice the words that are in bullets, do not start from the first screen because it is actually a non-arranged or a pull-it list If you are one of the people working in the office you will find that when someone writes a sentence like this and puts under it the elements of pull-its they go in a row in front of it
Speaker A
This is normal because it will let you know that this is a list of this part for example So, of course, these are hypothetical combinations. If you wanted to put elements under each other in paragraphs, for example, you would not put these bullets in them. This is to understand from it during the course that each element is dealt with differently. Okay. This is great, and there is no problem at all. The UL doesn't have any explanation or accuracy, except that we need to know
Speaker A
how to put UL inside UL. The word nested means internal. Now I have this js, which is an i, as you can see. And I want to put another list inside it, meaning a sub-list. Great. Let's come here like this and say after it immediately. here we will put the other ul on the same level ok, one moment guys so we don't waste your time in the editing and this is my ul and below it also my li's and I will write in it a group of framework related to
Speaker A
javascript I will write for example angular I will write for example react, I will write for example, Vue.js, a few things like this to learn nested ul, which is ul, inside it ul, as you can see here, li has an element, this has an element, this has an element, and below it as you can see, another ul, full of other elements, and if you try, you can inside each of them, it is very normal to make ul inside, and so on, and inside it li's, without any problem, finally, ok,
Speaker A
Let's go to the next one, which is the "ol" I want to tell you that there is no difference between the two in the "ul" except that you write "ol" instead of it to tell it that this is an ordered list What does "ordered list" mean? It means a list or a list of lists The same thing you did above, but this time I will tell it "ordered list" We will write in it anything, for example, you need skills, for example, let's say, for example, the first thing I need is the name of the person After
Speaker A
the name, I need the address, for example, after the address, for example, I need the person to give me the ID Anything just to clarify the idea, not more, and so on As you can see here, it did 1, 2, 3 because this is ordered. This is an unordered list. I don't need any order of elements that have nothing to do with each other. But this is an ordered list. This is great and there is no problem at all. we have a very interesting thing here, the attributes that we talked about
Speaker A
we agreed that we have attributes that help us in our elements if you write something here called reversed what does reversed do? it reflects the order you made 3, 2, 1 you change it like this so here I will tell it that reversed attribute or we can write here a little bit in our attributes we tell it reversed reverse for example the ordering for example, we tried it, we will remove it to try something else we have something called start start is a very nice thing start here you tell it how
Speaker A
much you will start I don't want to start from number 1, I may need to start from number 100 number 100 here, so you tell it to start from 100, 101, 102 and so on and it will continue to work as you want so I will write here start equals start from position this is nice and great Now we have a very nice thing called type Type is an ordering type The normal type in type is this number It will arrange 1, 2, 3 This is the normal type type I will write here type
Speaker A
= type of ordering If you change this number to the letter A capital, what will it do? It will arrange the letters ABC and capital ABCDEF and so on If you put a letter small you can put the roman letters as you can see the letter I you can put the letter I as well but this time small like this you can control the ordering type and start from where and reverse it if you want great Can I make this story from the li itself? Yes, you can come here in the li
Speaker A
and tell it value = 50 If I tell it value = 50, it will start from 50, 51, 52 and so on without needing to put the start in the ol Great, let's take a copy of this separator and go to the last type of lists which is the description list It's called DL, like this DL is description list Inside the description list you have a table or a part of the table called description term and then its description The description list means that
Speaker A
you promise not to use it much but it's very important to understand it It's important to know that if you need it, don't be afraid to learn it. DT is the name you want to put in your list, and the HTML is the name you want to put in your list. DTT is the description of your term. DL is the name you want to put in your list, and the description of your term. DL is the description of your term. DL is the description of your term. we will write here dl = description_list
Speaker A
this is our main tag dt is the description term which is the thing inside your list the last dd we can say description of the term So, to make everything correct, we will say this is the description term and this is the term itself. Like this. This is the description list, inside it is a term, meaning a point, a point, a point, each point has a description. I will write here, for example, under HTML, language of the web. Under it, for example, I can say, for
Speaker A
example, anything, for example, let's say The first link any column to bondage muscular but description term done this much team will follow DT Danny will look CSS would have to high can and then I'll DD well almost on language of the Visuals, any words to clarify the idea a bit more. We'll go down here a bit, this is our HTML term, and this is the description, and here the CSS and the descriptions. The form you see here, you can use the usual UL, but it won't be
Speaker A
logical, it won't show up in the correct way. This is a proper description term, your list of everything, every term, and the description. Now we know the three types of our list Today we will deal with one of the most useful elements in your life which is the table We used to use the table in design, meaning the header, footer and sidebar of the site were placed inside a table So the site used to be very slow In modern times, they stopped using this method and the
Speaker A
table is used only to display the data The best way to display your data is the table You can display data in many ways but the table is the best way Let's get started and start creating our table Here we put the comments and all the things we need Our table is made by a tag called table/table and you start putting all your elements inside it Our table is made like our web page It has header and footer and it has its body We have three elements that
Speaker A
we can use to make our table Thead which is table head and t-body which is table body and t-foot which is table footer we will see the difference between these two elements because they are optional and not a requirement to use them in table building we will compare them together to see which one is suitable for you Let's start with the T-head. The T-head is the part in the top header. Let's look at a table from the Google tables to
Speaker A
understand the idea. Here you have the top part that contains information about the data in the table. I mean, without this top part, if I have a number 60 and 80, I won't know what these numbers are. But with the information above, I know that these are the marks or degrees of the person. Great! I have many rows in the table, whether in the head, body or footer. The row is called TR. TR is short for Table Row. TR is a set of cells. These three are rows.
Speaker A
This row has 1, 2, 3. Three cells. These three cells form the columns you see here. I will call it TD. and write first name and last name and marks which is 60 degrees like this you have the same line when you write the data where the data is in the head? no in the body which is the body of the table we will make table row and td and start writing the data of people
Speaker A
Muhammad and the marks for example 40 and sorry I will repeat the name many times so you will see the name of Osama in front of you many times 4 times so now we have a very simple table to understand the idea first last marks and there are our data we will see many tables that don't have their footer not always they put their footer here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it
Speaker A
is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it
Speaker A
is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here it is not here
Speaker A
in the body. That's how I made all the elements of the table like this. Great. Now, what's the wisdom behind this whole thing about the T head and T body? If you went to this T food and put the first thing in the table, before the Thead itself, with the correct building, the table will be well-arranged and there will be no problem. You will go to the developer tool and look at the Tfoot, and see where it is. Here in the code, I put the first thing, but the table is
Speaker A
well-arranged because you used the appropriate elements in the appropriate place. And you left the footer completely. Great! But if I didn't use this tag, what will happen? Nothing! If you removed this T-Foot and left only the rose, like this, here, and this one too you will find them all under each other without any problem as you can see but if you have this line or these 1,2,3 they will come up completely because there is nothing to arrange them or to walk in the right way thank
Speaker A
god and it is beautiful and there is no problem at all now we come to here this is the table, the tr wrote a row of cells means a row of cells in the table td data cell table which is the cell of the data inside the table great, so our td, let's write next to it table data cell I have a very nice thing called TH What is TH and what does it do? Let's look at it, it is called THead It wrote header cell, this is the header cell Because if you want to put a cell and tell it that this cell belongs to
Speaker A
the head, then you write TH THD is table header cell. So, we can make an experiment and take this row as a whole. To make sure. This row is a whole row. For example, this experiment is random. No one will do it. Look what happened. It came as a whole. Why? Because we didn't make the building that we agreed on. The building of the THD, the Tbody, and the Tfold. Another thing to keep in mind is that the "th" is different from the others because this is a part of the header so we
Speaker A
will separate it with a feature called "FontWidthBold" which we will learn in CSS to make the speech as wide as you see and not only that but you will also find that the word is in the middle for example here
Speaker A
you see the word on the left? you see where is Marx? you will find some distinction between them so that he can tell you that this is a title of course he can tell you this title, this is a title so it must be special to the ordinary people ok, we haven't entered the CSS yet there are some things that we will configure the table to make it look great ok, very nice
Speaker A
border1 Look what it did, it created borders around the cells But take care of something very important This table border, this attribute, is a red color, it tells you not to use it When we come to learn CSS, I will show you something, I don't want you to focus on CSS now I will show you something, here if I say border, for example this is what we do with CSS without using border I can also make border for my cells and my table and I can do everything
Speaker A
and I can make my table full of screen see all these things with CSS you can do everything you want in your table I just want to give you a view of the future not more So, you mean that we have attributes that can do some cool things, but we don't use them because we do it with CSS. Exactly. If you come here, for example, cell padding, let's say 0 here. Here you can control the distance between cells. Like this, you can control many things
Speaker A
that are available to you but it is not recommended to use them, so I will do it for you. To ensure that you will deal with the table in CSS on the next day. Great. Now we have one of The next important part is the caption The caption is the title of the table Let's say that people who take pictures, they still take pictures and write the caption for you Let's say that the title of the table is "Students Marks" This caption can be copied later with CSS and you can do
Speaker A
whatever you want and it appears in this place And this expresses the title of the table if you have another table like this And there are almost the same data but a month later I will know the difference between them, I will know the difference between them how You will write in the caption that this is a month and the other is a month and so on, take note that there is no place here in the table to write in information, how? there is no space, you have here first name, last name
Speaker A
and marks where can I write that this is from this month, you want to put columns in each table to write this or put a heading before the table, but the heading is not the table's, so the caption is useful in this story Great, and everything is fine, and there is no problem at all. And we just have one last thing before we close the schedule classes, which is the Merge. If you have a schedule and you are working on a program like Word, and there are some cells like these, one,
Speaker A
two, three, and here you have one, two, three, three cells as well. I will return the border to you, my friend, to show you what happens, and then we will change it, God willing. We said we will not work on it at all. Now, you want to combine these two and leave the total of the marks. You will combine this and this and write any word inside it, for example, the total or the result or anything. The topic is simple, easy and very easy. You will write here the total
Speaker A
marks, which is 500, of course, the condition is that the number is this. Let's not upset people, 160, so that we are right. I want to write a total instead of these. I will write a total in this. Great. And this is empty. Is this okay? Yes. But there are still cells. I want to merge these together. To merge two cells like this, delete one of them. Aren't they two? Yes. Do you want to merge them? Yes. Delete one of them. And come to the other. Tell him that each span equals two.
Speaker A
That means I merged two cells together. Total and the number 160 is written as it is and the number is not a total number you want to integrate how many cells? 3 delete them and write here colspan 3 and here write the number 160 and say that the 3 are integrated and thank god without any problem We have a cool thing that you can use to add columns to your call span. I don't want to get into complicated examples so you can learn the table and master it. After that, you will be able to
Speaker A
complete your information and find simpler things than what I said. Now, we have finished the basics of the table. You can make a cool table and add elements and do what you want.
Speaker A
Today we will talk about three very simple elements that will help you in your work and help you deal with other elements. The first element is the span. Our span is a very simple element, an inline element. I will write word in this way to see where it will go. This element is for inline, if I put any element inline beside it, it will come right next to it. The span element does not have any combinations in the user agent, as you can see. It's as if you wrote a word
Speaker A
without an element. It's as if you wrote word again without span, it will come next to it and still have no combination like it. Can you see guys? There are no differences at all between them. and this is one of the elements of inline elements what is the benefit of span? what will you do with it? if you have for example a paragraph that has a lot of things and you want a word like water to hold it in an element to deal with it or isolate it from the content or do anything
Speaker A
with it in the world you will put this word inside span span in this way here I can hold this word and deal with it with CSS and do what I want let's see together if you went to my paragraph here this word for example if I want to type it what will I do? this word can't be held in CSS You can't use the word welcome in CSS If you want to color it, you will color the whole paragraph I will go to the paragraph and say color red It will color the
Speaker A
paragraph I want to color the word this is only Here, I will show you something Here, look, color red is not there Here, there is no element that you can deal with and color it The "B" can be colored because it's an element. I can say "color red" and it will color it because it's an element. I don't want to make it bold. I want to hold a specific word, isolate it from the content, change its color, make it bold or anything else. I put it in a span like this. This is how I become an
Speaker A
element. I can deal with it and say "color red" and add the line and do everything I want without any problem. means that I completely isolate it from the content this is the benefit of our span ok, very great now guys let's make another paragraph and say this is second paragraph and I will write here test We have an element called "BR" which makes a new line for the line. Before we go to CSS, I told you that you will do all these things professionally with CSS. You don't need this. "BR"
Speaker A
makes a new line. I did this now, look at what will happen. This is second paragraph and I put test By the way, the download is not related to this To do the formatting in save, I download it automatically If I go to PR here and write test again, it will show you from the system window but if you left them all next to each other and the PR is there, it will put them under each other because what it does is the tag of the PR it will make the distance you
Speaker A
saw and to make sure that no one is just gossiping let's stop the formatting like this to make sure I will do this and this and I will save you will find them all under each other, there is no problem at all This is for the PR, we have something like it, but instead of breaking the lines, it does something called horizontal rule. Let's make a line here, like this, and write another paragraph, and write the word second. This HR makes horizontal
Speaker A
rules In the future when you learn CSS you will be able to control this line and make a change to its color, size and all that. You may notice that HR gives you styling in the User Agent Style Sheet. It gives you display block. It's very clear, without asking you, if I asked you in an interview, or something, I told you that this HR is an inline or a block element, you should tell me block, you know why? Because it's useful to make
Speaker A
a line between the elements, so of course it doesn't come next to the element. You can't put the HR here, you've already missed its idea, that's why it's a block element. And here, as you can see, before it, here it's a diagonal, and after it's a diagonal, to separate the elements. So, we have today the span, the br that makes the break or a new line, and the hr that is the horizontal rule that makes a ruler between the elements.
Speaker A
Today we will talk about the Div or Division The Div is the king of elements The most important element you use in your design And you will always find dozens of Divs in your design Let's take a look together to see for yourself This is a very simple Google design, just look at it, Div, Div, Div, Div, and you will find Div everywhere, and you will also find Divs in every Div. Ok, this is great, let's start understanding how to use Div,
Speaker A
why and why, etc. If you have a text file like this, don't put this text file in dev because this is not its function If you have a text file like this, put it in the paragraph, this is its function Dev is made as a container Dev is a container for other elements Let me tell you a few things before we get into the world of CSS If I have this H1 and under it this paragraph and under it another paragraph and another element and I asked you to give them a background and
Speaker A
we agreed on anything related to CSS, you are now focused with me What will happen to do this? You will go to the H1 and type background-color after you learn CSS, red and text-align-center to make it easier. You will go to the paragraph and type the same thing, background-color red and text-align-center. The first thing you'll notice is that there's a space here that hasn't been colored and the alignment you did is the same for all the elements because there's no space to hold all the
Speaker A
elements together. Here comes the div role, our container If we take these elements and put them inside div This div is the container that holds these elements And I came to this div and told it to do the same thing I said a while ago Background color red and the thickest line center. What happened? It made sense and put the background of the div with the elements inside. This is the benefit of the div and the correct way to use it. If you have, for example, a city. This city has many areas.
Speaker A
Each area can be considered a part of the city. The div is the same story. It is a part of your page. Part, part, part, and so on. They make up your page in the end. To understand the correct usage, I will ask you to divide the book store into categories. In the bookstore, you will find more than one book category. There are categories for books. For example, romantic books, police books, science fiction books, and so on. each part of these books are included in some books if I
Speaker A
wanted to make a book I would put the book title Under the book title, I have in the paragraph, book description. Then under it, I have the span, which includes the price, which is $100 for the book. If I put all these books under each other, many books in this way, how can you organize them for me? By the way I told you about it a while ago, which is the police books section. Inside this section, there is a set of books and each book is supposed to
Speaker A
be one so that I can hold the title and the description and the span and do what I want. Do you remember a little while ago, we didn't say a little while ago that I have these elements and I need each element of them instead of the best to do what I want? The three must be in another element so that I can hold this element and do what I want. Is that correct? Correct. Let's do the story together. Let's start with the category of the stories. I will make a div for the category of
Speaker A
the stories. How will I distinguish them from each other? We agreed that we have attributes that we can distinguish the elements from each other. I will distinguish them by class. The first class will be called Romantic. The second class will be called Police. For example, the police books. The third one is the imaginary books. These are the three parts. Let's move to the first part. The first part contains a set of books. These are books and books and books. Will you throw them under each
Speaker A
other? Will you do this? How will you hold the books? How will you hold a book? You can't. Here you will put the div of the book. If you want to distinguish them by a certain class, it's ok. All books are similar. Don't distinguish them by a certain class. I will give it a class to show you how the coordination in CSS looks like. I will call it "Book". This is the first book, this is the second, and this is the third. I have three books. I will take all
Speaker A
of them and put them in the police books. I will make a distance and put them in the book which is the imagination and let's separate them with HR to show you the distance between them and we created our elements, these are the 3 books and these are the 3 books and these are the 3 books now, to have the div which is the master container we can handle it by ourselves you can hold the div of the romantic section or the romantic category and do what you want, look what I
Speaker A
will do I will give it a background that is completely different from the others background color red This is red, I will come to another part, which is the police, and I will say background color, for example, green. You will find that I have taken the part itself from the container, which is the element holder, and I can do what I want. Inside the books, haven't we been able to take all elements from them? No, I have now a div container for this information.
Speaker A
I can hold this book and do what I want I will show you an example now I will give it a color like this and I will give it a color and I will show you the idea I gave it a lot of combinations to show you that I can hold the book by itself and do what I want because there is a container to handle this story Without the container, you won't be able to control the elements correctly In the global design, you won't see these amazing shapes You'll see
Speaker A
books next to each other in a beautiful way You'll see things that look like a sculpture The book has pictures and a ribbon and beautiful things in the book It shows you the right view that you're looking for This will not happen if you don't have a container that holds these elements This is the benefit of the div and the use cases and the correct uses of the div And as I told you, the most important advice is not to use the div in text because it is not made for this The
Speaker A
text is made for you to use the paragraph because it is a text chapter You will notice that our divs have no words written inside them This div book has no words written inside it, it is just a container for the elements inside it
Speaker A
Today we will talk about entities in HTML Let me tell you, if you have a div for example and you wrote in it "this is my div" And you want to put a mark like this in this div Put the paragraph like this If I did this, what will happen? Let's see what this code will show This code, as you can see, is called "this_is_my" and I put the div inside the paragraph The paragraph you opened is closed automatically and then the div is closed as it is and the topic is over I don't understand what
Speaker A
I want I don't want the word to be calculated as a tag I want to print it as it is, like the word "my" And here comes the topic of entities that every character in the language has a code it will make it appear in the browser away from the tags it will show you the same thing you put in your text what is our problem in this code? that there is a lock like this if we made this mark alone, there will be no problem at all if we put the "B" after it
Speaker A
here, let's see what happens See? Here, the lock is removed. It caused you a problem. So, our problem is to close the element like this and see a way to print it without it being considered an HTML tag. How do we do this? The sign "less than" is written as "and" and "lt" and then semicolon. "lt" means "less than" which is "less than". This is the sign "less than". all the words you want to use start with and end with semicolon and write the required in it with a bigger
Speaker A
sign than gt greater than you see? I did plus than and greater than and it should have a letter b inside it right? Let's delete this and see what the entities will do. Look guys, here it is. It gave me the mark, and thank God, and it's like the full. And if you open the pg source, you will find the code that I wrote here. See? less than, greater than and the "b" in between and put the sign as a text as if you wrote it this is the entity you will encounter many
Speaker A
signs in your life that you need to write the code of the entity like this "&" sign has something called "&" which is the "&" or "wow" there are some things that we can try to write for example like this these are signs, you see each of them has like a code or like a object, you write it to get to this mark you have the mark of the copyright which opens a site and tells you that this site has all the rights reserved for this and that and copy semicolon will
Speaker A
make you the mark of copyright this way you will find many other signs like this one, you can check it out like this, many signs and many objects and I don't need to tell you how to get all the objects as we learned always search, let me show you I wrote here HTML entities list to see a list of all these entities and you will find here all that we talked about this is the number sign and how it works the entity name here because I was still doing it you will
Speaker A
find the sign of the The bigger and the smaller the list and the greater than you will find many other signs and there are many sites in which the list is very much as I see if you want to make a sign from these shows you the code of it and the sign means what the word means here and you have many symbols and things in the sport, what is the symbol? If you want to do sports, let's take an example from them quickly. like this one, we can look at it quickly and
Speaker A
then we can know the requirement. This is the mark. All these entities are available, of course you can use whatever you want and you don't have to memorize all this, I mean, you have 5 or 6 of them that you can use, you only know the story from them and you understand what entities mean and the general idea, which is the benefit of the lesson.
Speaker A
Today we will talk about Semantics HTML language in the 5th edition brought us a semantic element called "Expression" better than "Div" Let's see where is the first problem before we see what are the features of this element if we enter a design like this This design is about articles on the right and on the left sidebar with the information we will see in it We will enter the main div called "ColMain" which holds all these elements Inside it contains a container which also contains
Speaker A
all these elements Inside this container there is the row which contains columns and other things Inside this row there is the column on the right "ColMd8" Please note that I have passed a few divs so far Go down a little bit, you will find that you have the container that contains all the articles Inside this container, there is each article by itself, this is one article, this is the second, this is the third, and so on We open the article,
Speaker A
inside the article there is a picture, after the picture there is the div that contains the topic data Which is the data that you see below, we open the topic data Below you will find the excerpt which is the short part and the info of the article Inside the article's info there is another div, there is time and views And you can open the views and find divs too, Masha'Allah See the quantity of these many divs The elements are divs inside divs inside divs, it's not logical In HTML5, they
Speaker A
gave us more logical elements, elements with names Instead of divs, you have many block elements with a name The element above is a div, I give it a class named header This element has a name called header It's the name of the header element It means to write exactly like this This is the header of the website Head of website Under this header there is the navigation bar This navigation bar is in any website where you see this
Speaker A
The links that the person browse through the website This is called the navigation bar, we were doing what first? Div class, its name is div class equals Navigation or nav or anything Now you have a semantic element called Nav, Nav from Navigation, now you have a logical process and you can put your links in it, link, link, link I will give you an example, not more, this is Navigation, so I have a header that shows me the head of the
Speaker A
site and under it the Navigation then the content of the entire site, the content of the entire site is put in something called Section, so I have a section of the site, a part instead of a div, div, div On the right side, there is a section and on the left side, there is a section On the left side, there is a section and on the left side, there is a side This side is the sidebar, which is the left side of the section So, instead of dividing the left side by itself which is the
Speaker A
most possible to make it as a side and I will avoid the number of classes that I am writing co sidebar and co something else this element will be called as a side only which is the sidebar and of course you have to close it with the same lock so here you have a side and close it here with a side like this I don't care about the lock, I just want to show you the idea. So I have a side and then here /a side. Instead of holding the coside bar, you have the class to be connected with CSS. All
Speaker A
you have to do is say a side and connect and live your life. comes with the article part instead of using the article as a div and a topic box you can call it an article the div itself is an article element you have all the elements with their names to make you use the classic and div stories that you don't understand why and why Let's look at this image to understand the idea before we close the video Here in HTML4, it says "Lost of Classes ID" Here we have
Speaker A
the "Div ID header" or "Div Class Header" "Div Class Content" Here we have the "Div ID Post" Here we have the "Div ID Sidebar" Here we have the "Div ID Post" Here we have the "Div ID Footer" Here we have the "Div ID Semantics" You have the elements with their names. You have here a header, it's called header. This is navigation or a side, if you're doing a sidebar. You have here an article, article, article. And this can be a main or section,
Speaker A
depending on your idea. And here the element is called footer. You don't need to give it div class footer. The element is called footer. So if you have a footer below here, you'll call it footer. Like this. These are our elements. All elements are block elements. So if you put any words in it, you will find them under each other. This is the header, block element. This is the navigation, block element. This is the section and footer in the
Speaker A
middle where we will put elements, but we will leave it empty. And this is the footer, block element. So you have created the page you learned to create before But HTML5 Semantic Elements All elements are now logical And the reader will know what this element is representing It is impossible that someone will take the element header and not know what is it This is Navigation, the article you will write article section by the way, these are the
Speaker A
same elements as div don't be afraid to say these are strange elements no, these are the same elements as div and you can give it a class and attributes there is no problem at all you can consider that this is div but with a term name that's all
Speaker A
Today we will build a website without any CSS or colors to see how the website is built We will build it in a normal way using div and classes to distinguish them and then another video in semantic elements Let's see a website like Amazon or any other website you can think of and see what are the elements that make up any website in the world For example, you have the header part, there is a logo and some links on the right You have the navigation part down here,
Speaker A
which is called the nav element in semantic elements And then you have a website down here that has the special part of the photos and the products And on the right sidebar, which contains the links and the sections and all that Then you will have the footer, regardless of the design and the shape This is great, now we will see what we need to do As usual, you will make a div for the header and you will define it with a class called header Because we can use CSS to
Speaker A
define this class and do what we want In this header, you may have H2 with the logo of the site, which is any name you want, no problem. And there are a number of links on the right, the main site links. You will always find that the designers put the links in the unordered list because it is a number of links, but not a list. So you can't put numbers on it. So I will write here, for example, home, and then here, for example, about, and here, for example, services. Like this.
Speaker A
and the last link is "contact us" this is the main part of the header we are not going to do the final look of the header I am just showing you the layout of the header in the future when you learn CSS you will leave the logo on the left and the links on the right and you will remove the bullets and the edges We will do the same with the others to know what we will separate between them. Then the part below will have the content which will be on the left. It will also be a dev and we will
Speaker A
write on it for example, we will give it a class called content. Which is the content of my website. I will write in it the word content only because I know it no more. The second div is called sidebar, which is the one on the right that we see on the websites, and on the right is the section, the pictures, the last members, etc. Any website you will ever see a sidebar like Facebook, this is the content and sidebar. We will do another HR and see what's inside. There
Speaker A
is a part under the header that we can put or not. After the footer, we will put it. I will do a div here and give it class footer. This will be the footer of the site. We have a very nice navigation part. We can come here under the header and do another HR. Between the HR, we will have the navigation. Add div. Then we will say here, class = nav or navigation. The navigation will contain a bunch of links, so you can create the ul with some other links, I will
Speaker A
write here link, link, link, link, and many links. You can create the ul itself with the class, and you don't need to put div, so the ul can have this class. and there is no need to add more elements as long as there is no other than UL if UL has something else, then put it in div because div will be a container for all these elements but if UL has nothing, then it is enough the building you see is the building of the normal site regardless of the shape In the default
Speaker A
design, the logo is on the left, the link is on the right, the link is on the left, the content is on the left, the sidebar is on the right, and the footer is on the left. Because the video is not just theoretical information, I will give you a glimpse of what you can see in the future. For example, let's say that I want to give you a glimpse of what will happen in the future. then we will tell it that the li inside it which has the links, it wants to be
Speaker A
beside all of them we will tell it here like this, for the experiment only, the idea is not only and then we will tell it list style none to remove the bullets like this and the li we can tell it I just wanted to show you the idea that when you learn CSS you will know how it looks but we are just building a building so as you can see the building is the header then the navigation, the links below then the content on the left sidebar on the right and then the footer we can also add some pictures
Speaker A
in this content this is an image we have the pictures here in the images home and this is our image like this This is a picture inside the content and there will be some pictures underneath it. So guys, we built our building with the divs and classes without the semantic elements that express the content. We will do it in the next video to see the difference. Today we will do the same layout as the previous video but with semantic elements that have a logical
Speaker A
name that expresses the content. The same thing we did before, we won't change anything except the elements, meaning the content will be the same. You have this div class header, you can change it with a tag called header. there is an important point to take care of using header, article, section and other things doesn't mean that the div is deleted or not needed in some cases you will find yourself using a normal div the second
Speaker A
and most important thing is that using the header doesn't mean that there is no classes even the header you can give it a normal class there is no problem at all Why? Because there are many elements that can be added to this header This header is not just a header of the site It can be a section inside a header So, the header of this section So, even using the header, you can add a class to distinguish the headers from each other But the idea is that you don't have a div inside a div
Speaker A
inside a div The process became more logical and more efficient The UL Navigation will not be in the entire navigation bar, but only one. It means that you can't have a section with another navigation inside. So you can turn it into a Nav and the whole thing will be done. So there will be only one Nav in the navigation bar, and all our links will be there. The Content and Sidebar. The Content can be a section like this. and inside it is a lot of pictures and stuff the
Speaker A
sidebar is not only one in the site you can use the sidebar the footer is the same as the header you can find a section with a header and a footer It will be distinguished by a class if you used more than one. Ok, let's go to the section. We should have a specific section with a set of words or elements. And below it, there is a set of articles. For example, as we saw in Amazon, if you have a blogger who writes articles or something, you can use the article tag, which is like this. All of these
Speaker A
things are just to let you know are block elements, like the div but its name is more logical If you look at the shape in front of you, you will notice that there is no div at all Here the header is there, the navigation is there, the section, the article, the A side which is inside the sidebar and the footer So of course everything is here, even the image Normally people would put an image and put a paragraph underneath it and write on it
Speaker A
caption of the image which is the title of the image and you want to write a comment about the image so to combine them and connect them with CSS like we agreed on last time you put them inside div we agreed on this that div will take these two elements as a container and you connect div and put them behind or move the image with the caption on the side now the topic is more logical and you don't need to do this instead of div we have something called figure You can put a picture and the
Speaker A
caption of the picture The caption is a paragraph, no it's a fig caption Or figure caption Which is the caption of your figure So I have a picture and the caption below it And I also have a logical element called figure I move it all and give it a background And I can do what I want without any problem Notice that we did everything in the previous lesson without using the div at all. So, when you make a complex and full design, you will get the same
Speaker A
result. You can use an article in a section, and a header and footer in the middle of the section. You can use a section in a section, but you won't enter the huge loop that you see in the div. You won't enter the tree arrangement that can reach 10, 11, and 12 levels in a row.
Speaker A
Today we will talk about the audio tag There are many websites that are based on the audio tag Websites that provide audio services and files Islamic websites that provide Quran and Anashid Websites that provide songs, tunes or audio effects that people use in movies and content making Let's talk about the audio tag The audio tag has an attribute called source that writes the source of the file, like the picture exactly You see where your audio file is and write its source here There are two
Speaker A
ways to write the source Either as an attribute in the audio tag itself in this way Or inside the audio tag you can use the source element The source element means that you can use more than source What is the wisdom in using more than source? When you type more than one source in the audio tag, the browser will search for the suitable type for it and use it. Meaning you can put one type of audio here and the browser will not support or support this type so they
Speaker A
won't use it. But when you put two or three types here, the browser will see which one is suitable for it and use it. Great. Let's stay in this source and this one and we understood this idea and we don't need to talk about it again. Inside the source tag in source attribute. Source attribute asks you to place your file in it. The same thing we did in the pictures. Inside the project, I made a folder called media. To put a voice file and a video file. As you can see. And this is my
Speaker A
voice file. It's called one way ticket. After you download the file from the place it is located in, you write here an attribute called type. What is type? Every file on the internet has something called MIMI type. As you can see, this is the extension of any file in the world. What is the type of file? And this is Now we are talking about a file called OneWayTicket.mb3 Let's see the extension of this file This is the type of the extension and this is the MIMI type of the extension Let's write
Speaker A
together and continue with the rest of the information you said that you put more than one source to see who is compatible with it and use it, right? right the other source should have the same audio file but with another extension like the OGG this is an extension of audio files extensions we will not go into the audio world because this is not what is required in the lesson what is required in the lesson is to know the audio tag and understand how to use it in your website
Speaker A
Let's see the OGG, what is its MIMI type This is the OGG, audio file and this is the MIMI type, audio / OGG We don't need anything else We have other types like the WAV This is a WAV file and here is the MIMI type called AudioWave I should have added one or two files to make sure the browser understands what I'm saying but I want to tell you that modern browsers support all browsers so you can just go to the M3 file and that's it Great, let's say that
Speaker A
someone opened a website with an audio tag and the browser he opened doesn't support the audio tag itself What will happen then? He won't see anything or understand anything So we put a message here saying that your browser does not support audio so the person who open the website from the browser and not support the audio tag will get the message you write in the tag here like this great and thank god everything is ok we have some attributes that are related to the audio tag itself like
Speaker A
what? like the controls the controls that gives you the buttons of play and you can turn up and down the volume and you can present and do all this stuff and then we can go and check our audio file this is the audio file guys and this is the play button and it is all turned on and this is the stop button and the send button and the volume button and the volume button and the volume button and this is the control button great and if we open it on another browser like
Speaker A
Edge it is the same if you open it on Mozilla for example Firefox you will find it looks a little different but it is the same audio part exactly there is no difference ok We have 2 or 3 other great attributes like auto play. You will notice that auto play was previously used on Google Chrome but now they have made a block for this attribute and after a while you will find it back again. It's ok, you just need to know it and know that it exists. What does auto play do? It makes
Speaker A
you, as soon as you open the page, auto play your file. you will notice that this feature will not work on Google Chrome but on Edge it will work now we know the feature and this is what we need we have another feature called loop what does the loop do? it makes the file repeat again as you hear the infinite loop another option is muted, which makes the audio file silent if you want to make the audio file silent, you can choose muted I don't need to tell you that these are just for
Speaker A
the experiment, but they are not really present, so there is no need to write them, I just wanted to explain it to you People who have international sound sites always find that they have all the extensions because this is their service and they are familiar with it. So you have to be 100% sure that if you brought a free traveler, all the files will be working for you.
Speaker A
Today we will talk about the video tag. The same thing we said about the audio tag, almost all of it applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the
Speaker A
video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing
Speaker A
applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The
Speaker A
same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the video tag. The same thing applies to the
Speaker A
video tag. The same thing applies to the video tag. The same thing applies to the video tag. The This is the video tag, in the same way you can write one source here which is the source or the link for your video or you can use the sources here like this Why? Because if you have more than one source, it allows the browser to see what extension is suitable for him and what he supports to use it Here we have two video sources. This is the first source attribute. I have a video
Speaker A
file inside the media folder called Ghosts in B3. And you will find that the type or the MIMI type as we agreed will be called Ghosts. video/mb4 ok, we will take a copy of it and you will find that we have another file with the same name but with an OGG extension so guys, as we said in the audio, you should have an mb4 file and another copy of it with an OGG extension and we have something called web command or third extension called webm webm, this should be our third extension ok
Speaker A
This is great and I will make you happy in the video and I will tell you that the MB4 is supported in the modern browser and it doesn't need a lot of things like this The person who goes to the site and finds a video tag and his browser doesn't support the video tag What will happen? He will send a message Your browser does not support video tag For example, the same as the full text, the same as the audio text. If the user goes to the website from a browser
Speaker A
that doesn't support it, he will get the message that you wrote here. And that's it. All right. Now, thank God, we did exactly the same as we did in the audio. There is no difference, except that the file, instead of being a voice, became a video file. That's it. So how do we show our video tag? Just like I did in the audio. You will tell him. add the controls attribute which is called controls, which is this, great, let's do it together, this is our file, 39
Speaker A
minutes, like this, all is fine, like the full, let's look at it like this in the edge, great, no problem, all is fine, because I'm zooming, so you'll feel that the video is big, All of them are fine, like the full, no problem Here we have something very great It's called width and height These are attributes that control the width and height of your video player I will say for example, width equals 400 And height equals Let's say 200 400 x 200 And we will look at
Speaker A
it now This is our audio like this I like to change it like this, let's say 600 and then here we will see if it will be good or not in 300 or 600x400 like this, okay, 600x400 is good like the full, there is no problem at all, everything is fine we will write here 600 and here 400 so now we have the width and height we control them in our player, great we have another attribute that we can use we agreed on the auto play, do you remember the auto play guys? let's see together
Speaker A
auto play, like this, and look here, did it play? no, like the audio exactly, so here it works automatically, this is the difference exactly the same as what happened in the audio so we have the auto play attribute that makes the video work automatically when you open the site we have the same thing, the loop that the video reaches the end of the video, it repeats itself we have the mute that makes the video mute, there is no sound when
Speaker A
you start you will tell me that you haven't tried this in the audio, I will tell you that you are stupid let's see together what this mute does, look at the sound I'll show you something very simple. Can you see it? This is the sound. Can you see it? When I entered, the sound was muted. Let's look at the sound when I refresh. the audio is closed this is the exact same thing you did and this is the same experience you will find in the audio
Speaker A
and there is no difference at all the video is different from the audio the video has some cool things like the poster now when you open the video you will see a loading it is not a picture when you open the video you will see it in your face we have something called poster this poster shows you a picture until the video is uploaded or until the person starts the video. Great. Where do we get an image from? We have an image in the folder, let's make sure what
Speaker A
folder it is. It's in the photo folder. its name is images/home and in the image we have the image that we used to try the tutorial on let's do a refresh did you see the image? I will show you the first image the image will be shown until the loading happens of course this video is on the device so it doesn't do the loading if you download this video from a certain site and its size is very large it will still do the first loading as you know but this is the main thing that I
Speaker A
showed you the image This is great, just like the full version, and we don't have any problem with it There is something very important, and it is related to translation and to the people who have it, and God will forgive them all, God willing And it is an element called track, this is our element What does this track do? Let's write the track with our hands Let's see what the track does. You can add a special file in the track and add a type of it and add more than one translation. I
Speaker A
can add more than one translation in my video. If I want to translate the video, I can add non-translated files. It can be a description for people who are deaf or people who don't hear. Many things can help these people. The track accepts more than one thing. For example, the source asks you to have a file with a length called VTT. VTT is short for Video Text Track. Web Video Text Track. You call it, for example, my file. It should
Speaker A
be with us, but it's for people who are translators. I'm giving it to you as information just so you know. This is the translation file, which is the Video Text Track. Then you will ask him the kind of the file you will find that you have something called Metadata, Subtitles, Captions, Shepters, Description Some of them are useful for people who are deaf or not hearing Some are useful for the blind person who is deaf Some are useful for the translator
Speaker A
This file is the video translation. Then you tell it what language it is. For example, the source language equals EN. This is the first file we have. It will be English. And this is the label, which is the name of our translation. We will call it English. I have another translation. You will find that the translation in Ood is in a different name because it is for another language. For example, this is my file EN. This is my file, for example, let's say IT. and here we
Speaker A
write IT which is Italian for example and you will have these files with your translation each file has a label to see your translation here of course we don't have any of these things guys so you won't see this stuff, this just needs some experience in translation and some experience in creating these files like this so you can, as you can see here I don't have a translation but I have the labels to show you the idea itself here it says
Speaker A
You have English, Italian and the languages you added If we have the languages now, the translation will appear on the video I just wanted to show you the track element because it's important for people who want to add a translation to their movies or videos if you are providing a service for this video on your device not a video on YouTube and you want the video to have 2 or 3 translations and you want to help the people who have a problem may God protect us all and them, God willing so
Speaker A
guys, we know the most important things in audio and video there is an attribute called preload preload means there is a loop and you won't use it much I advise you to read about it to complete your information and you will have the audio and video complete
Speaker A
Today we will talk about one of the most important elements in the language which is the form Our form is something you deal with every day even when you are far from this field and you haven't learned it yet If you want to register an account for your friend on Facebook for example you will find a small page called sign up to register a new member for your friend You will find an input field called username, password, email and then you
Speaker A
will send these data to Facebook This is called a model and there are input fields If you have a problem on the internet and you want to complain about the company, you can go to the Contact Us page and choose for example, you want to complain about the company, you write your name, your phone number, and you write the complaint and press send to send these data to the company that has your complaint What you did is that you filled the input fields
Speaker A
inside a model and then sent it to the company This is our element today Let's see together what our element is talking about and what its story is We will stop talking about this until we come to the next lesson Our form is a very simple element that you can put anything you want in it. You can put anything you want in it. It's OK. There is no problem at all. The most important thing in the subject is that the form has all your entries in it. Because in the end, when you
Speaker A
press the send button, it sends all the data that it collects from inside the form. So don't go and put an entry outside the form. As long as it's inside the form, it will be put inside here. Great and beautiful. Let's start with the first element which is the input field where you write words. This is our element. We will delete this type until we reach it in the video. The input field is simply a field where you write words like this. There is no problem at all. If I have two inputs like
Speaker A
this, I want to know some information about it. The input element is the inline element. If you go down here and look, you will find something called inline block. We will learn it in CSS, God willing. I know people who are upset that we are entering CSS. I didn't enter it, by God, I just say a little information. If you put more than one input, the other element will come next to each other. The second and most important point is that the
Speaker A
element has no lock. Self-closing tag. It closes itself as we agreed before. This is an opportunity that throughout the course we know the elements that have a lock and the elements that do not have a lock. Great! If I want to write my name here, I go to write Osama, I want to write my password, Osama@123, God, I have not seen the password yet, I will use it. Here is a problem, this element is supposed to be a password, it has stars here, not words like that. You are not defined a
Speaker A
type, we will start defining the type. The type of my field here is a type of text. Text is a text, you can type your name, title, information, subject, or subject, no problem This type is a password, when you type in the input type of password, you will find stars in it And because of text, it will write normally, and show you that you are typing, no problem And here comes the role of the type We have many types of input, we will talk about it in the next videos Today we will talk about the
Speaker A
form and we will learn about it to understand the world Ok, this is great and beautiful Let's say now that I don't know what this field is about and what this field is about there are some advanced things that we can learn in the future that can help you know what this field is about but we want to go step by step and go step by step how do you know that this field is about the username and that this field is about the password you can tell me, "Oh God, what is this? he
Speaker A
wrote this and it became a password and he wrote here and he knows this and that" you know from where, the name can be not the name it can be the subject, it can be your phone, it can be anything We have a label, it's a very important thing to use in the best practice and we will remove it now to understand it in detail The label describes the input you put and what it's about or who it belongs to, it's made exactly as you see in the supermarket For example, you have a
Speaker A
certain carton with a product, you put a label on it to tell it what's inside Without the label, the person doesn't know anything A market site, you order from it, it brings you a label on the carton that says you ordered a phone, a spoon, a shampoo, anything This is the label Without the label, if you have an empty carton, you can't know what's inside unless you open the carton Our label today does this operation Okay, and this is another label, and we'll write
Speaker A
on it your password or we write password and here in the first label we write username, you can use the div we learned before, which is a container for our elements and put this div in div and put these in div as well and now we have what we want and thank God, each one of them will be in its own place and this is what you need, you will say, oh God, they are connected to each other and we haven't learned the CSS yet, what are we going to do?
Speaker A
we are going to make a break between them, simple and nice without using CSS for the people who are annoyed this is great and nice, there is no problem we learned about the form and we learned that there are types of inputs and we learned about the label that is linked to the field and we will learn how to link this label to the field and be exactly representative of it Now, we have some important attributes in the form But we have one last thing before we close the video
Speaker A
What is the button you will press to send these data? How do we do it? We will write another input here What type of input do you have to press? It is called Submit I will send all these data like this I will write here Osama and here the password and I will ask him to submit. You will notice that the page has been refreshed. You will see the "and" sign above and this is still Lina with her. I mean, I should have refreshed the page or sent these data
Speaker A
to the page. Now, guys, we have learned about the main inputs and we will continue with some of the types in the next lessons, God willing.
Speaker A
Let's continue with the form and take the most important attributes that you will deal with in the form world The first and most important thing is the required attribute What is required? It means that this field is required What does it mean? Let's say that you are in this form and when we click submit, what happens? It sends the data but the data is empty Is this logical? No, it is not logical If I want to register on a website, can I leave the
Speaker A
username and password empty? How do I register? You need to force the user to write the data here And here we will go to the required attribute If you have a field of rules that needs to be required, you put an attribute called required in the input This is our attribute I want the username and password to be required Let's take a copy of the username and put any other field in any name, subject for example But I don't want it
Speaker A
to be required, to show you the difference between them So I have three fields, username, subject and password And I will try to submit, look what happened Please fill out this field First, he will validate the field to see what is the problem First, he will tell you to write your name in this field, so I will say "Osama" and then "Submit" He will pass the subject because it is not required, you can write it yourself and then he will come to the password and tell you to fill out this field
Speaker A
So I will write my password which is osama123 and I will tell it to submit and that's how it sent my data. Of course, guys, the required is very important because there are rules that a person cannot leave empty and you must write a required attribute to it. Okay, among the nice information, if I tell you this from the scientific point of view, before the new HTML versions, the required was written like this. required = required in the modern versions
Speaker A
you don't need to write required = you just write the word and the browser understands it because if you saw the weird shape that I was writing don't say that it's a joke we didn't say anything about this move so please forgive me I just wanted to tell you because it's in the dictionary ok, this is great and beautiful like a fool let's see the attribute next which is by the way one of the most important attributes these attributes are
Speaker A
nice, right? which is the placeholder if I want to write a specific information in this username or maybe one day this label won't exist how can I direct the user to know that this input field is a field for the username? by the placeholder the word placeholder means something that records a place placeholder holds this place I will write placeholder = and I will start writing the word that you want to say to the person let me tell you that for example there is no label there is no
Speaker A
label because the person knows that this is a username or not so you will write here username that this field is the field of username so if the label is not present look at the word username the person knows that he will write here username Once you type the username, it disappears. You open the folder and go back to the placeholder. Does the placeholder only use this function? No, it uses many other functions. Let me tell you that if you
Speaker A
have a hint, and you want to tell the person to type a specific password, you can write it here in placeholder and write a complex password write a complex password, don't write from 1 to 6 write a complex password, when the person writes a password, he will remember the hint behind it and start to solve the password instead of 1,2,3, he will write 1,2,3,4, did you see how difficult it is? I just wanted to tell you Great! So, now we have the required and
Speaker A
placeholder. We have the last thing, and it's the most important thing in the world. If you have input fields in a website like Facebook, you entered the settings and the profile, and you want to edit your data. You want to change the name. Is the name you change empty? Does your old name not exist and the field is empty? No, the old name exists. I want to change the email without the name. When I change the email, does it give me an empty field? Or does it give me an empty field with my old
Speaker A
email? It gives you an empty field with your old email. So I can use the value attribute to create a value in the column that is stable in it. How? I will tell you to create a new email input. We will know a new information and take the value with it. Username, subject, password, and then I will take a copy of it and call it an email like this Our email, I will write write a valid Email in the placeholder. The type of it will be required. Leave it as required.
Speaker A
It doesn't need to be required. The type of it will be password. I will make it text. And I will come back to you again. I will come back to you again. To show you the type of email. Great. This is a right now guys. It is not required. I can write the username. And write the password. And send. It is not required. Great. This is nice. Let's come to the email. And tell it. I want the value of the email to be. email and then I will change it and then I
Speaker A
will send the new data. Add value attribute, you write the value that you want to appear in the field. What is our value? What is the old email? O at N N dot SA. This is the old email. If you go and refresh, you will find this email here as a value. As if you are the one who wrote it. So you go and teach it like this and write my new email. At email-shet.com here guys as you can see I deleted the old email and put a new one and I will tell it submit to save or to do my data do you see
Speaker A
this submit button if I go to it and tell it value equals save it will make the word instead of submit it will be save so I will come here and update the email new for example at nn.se and press save so all the data will be collected and go to another place. This is great. We have a very simple information and the video is finished. Let's see together if I change this input type of email and make it something called email. This is now a type of email and with this
Speaker A
type I will put the required attribute. means that we have to write the email. Let's write Osama together. Or we go step by step. Save. It won't accept. We have to enter the name. Ok. Osama. Is the subject required? No, it's not required. It will pass and go to the password. I will write my password and press click on it and press it, is the email required? yes it is required, so it says please fill out this field, take note of
Speaker A
this next trick, if you write here the email called Osama, just like that, it will accept it, look with me, what will happen? save, look what it wrote, please include an at in the email address, here the type of the column, which is an email, makes it valid on the mail, nothing is written in it, if you wrote Osama, it will not pass, it must be Osama and then click save and it will tell you to write the part after the A because you only wrote the A, you have to tell it to save and that's how
Speaker A
it will send the data but the first one couldn't send it because it's an email type if you change this type to text it will accept any word but when you put an email in the type and you know it's an email, you have to have a certain pattern to write it to pass I just wanted to show you that the type is different, each type in input is different
Speaker A
Today we will talk about one of the most important attributes in the form But today's lesson is an advanced lesson It will help you when you deal with the backend work The work is to send these data to the backend If you didn't understand this video, I don't want you to get upset Leave it aside until the time comes, not more But I'm sure you will understand it completely The first thing we need in the video is the action attribute that
Speaker A
we talked about What is the action attribute and what does it do? The action attribute is as you can see the URI that our program or application will do the process of the data inside and send it to him. Very nice. Our action is another. The link or the page or the place where you will send all the existing data to him. What does it mean? Imagine if I work with a team working in a programming language. and they have a
Speaker A
file that will receive all my data. This file is called "osama.php" Don't focus on any additional information. I just want to show you the idea. If I send all these data and click "send" it will be sent to a file called "osama.php" This file is for people who have a backend. They receive the data and do what is necessary. Let's write anything here, for example, like this. And we send the data and see what happens. And it will send me a file called osama.php The
Speaker A
file is not there, I'm just showing you the idea Great If we didn't write anything in this action It will send the data to the same page that we are inside of So if I did this and this and this It will send the data to the same page index.html Which is inside of it Which is the same thing if you didn't use the action It will do the same thing Great. Now I have some data. I have the subject here, and I have the username here, and I have the password here,
Speaker A
and I have the email here. How do I send this data to the server? How does it know every line from the other to send the data? By a great attribute called name. This name is what calls every input field of these. This name equals. I call it by my mood. No one forces you to write any name, username, you can call it un, which is a username, you can call it name, you can call it user, as you want, I will call it here user, I have here the subject, I will
Speaker A
call it sub, or subject, which you like, no problem, ok, I have here in the password, pass, or password, as you like, I have here In the mail, I will call it mail. Great. Let's see the difference between the movement that you are seeing here, the sign of understanding is empty, there is nothing after it. And let's see here when I send the data and submit what will happen. Here, guys, our name will be Osama. The subject, for example, here, server is down, any empty words, no problem. This is his name. Here, the password. Here is the email and I will say save Let's see together what
Speaker A
happened in a very simple way and see what happens above What you see above in the URL is something called query string The query string has more than As you can see, the user is Osama Here is the subject that I wrote You have the password, you have the email and all your data is here Great There is a tab here in Google Chrome called Network Let's watch it and refresh it again as if we sent the data again And I will click on this index And we go down here, there are
Speaker A
some information you want to watch. Down here, you have something called Query String Parameters. Query String is all the data that you have in the link above. You see? User, subject, pass, mail. The data that you see here, you send it to the backend, it receives it and starts dealing with it. And these data can You can send it by email or anywhere else. We don't care about the location because it's not your responsibility. It's the
Speaker A
back-end's responsibility. It takes your data and puts it in the database. The name, the subject, the password, the email, the phone number, everything. The name is what tells us to send the data to the government. to a specific location as we agreed. There is something more advanced that you need to know. Someone might have noticed that the data you sent appeared in the link above because the way you send it is what makes it appear above. We have more
Speaker A
than one way to send. We have something called "GET" and something called "POST". Let's see together what "GET" and "POST" are. This is "MESOD". attribute. The method attribute, look what it brings you, git and post. Leave this dialog, its story is very long and you will not enter it now at all. Let's see the git, the normal git method. What does the git do? It sends the data up, as you see, look, I did a refresh, the data shows up. The post doesn't do that. The post doesn't make the data appear
Speaker A
in the url above, like this. Let's see together, Osama, here, Subject 123, password 3a, email and save. See what happened? The data didn't show up, but did it? No, the data showed up. User Osama, subject 123, password 3a, and mail [email protected]. The data showed up, but in a different method. After the get was done, the post is not displayed above And the data is sent and everything is fine And there is no problem at all And this is the part of the form in which our data
Speaker A
is Okay I don't need you to learn about the form, name and how to send the data. Once you get familiar with the form and data, you'll know everything about the backend. You'll know the difference between the gate and the post, the experiments and many other things. At the moment, there are no practical examples or use cases to see this. I showed you the comparison and your understanding of the whole thing. And hopefully, you will understand the lesson.
Speaker A
Today we will take some very nice input types that will make a lot of difference with you and will increase your ideas or the things you want to do First thing we have is a type of input called Hidden Why can I put a hidden input? Why can I make an input that the person doesn't see? Let's put a value and make sure of some things I will write the value as Osama You will think that my input will be here but you won't see it Why hidden? Why can I send a
Speaker A
hidden input? This hidden input contains many things. I may want to get your ID, your ID in the application, add it here in the value and send it with the data, so you are not required to see it. There may be a certain hash or encryption code, I also do not need you to see it here. Not for protection, no. It's normal to open the InSpector and see it like this, but it's not normal to see it here. You will ask me why? I will tell you that if I did this
Speaker A
to you, what is the point of seeing it in front of you like this and you can also modify it and do many things? There is no point in seeing it. You can say that Hidden Input is sending data with your data and there is no point for the user to see it. At that time, they use Hidden Input. Great! Now we have a type of input called Reset What does Reset do guys? It resets your data I will write some data and press reset and it will delete all the data I wrote I did this and this and this and
Speaker A
this and I went to reset it it will delete all the data I wrote and this is in the value so it will not delete it you may need to empty the form and start it again instead of coming to the data and keep doing this and writing and come here and do this and write all this is a bit tiring so reset will go empty and start clean Great! We have a field called color. This field is one of the few that I use. Let's take an idea about it. This is the
Speaker A
color. You will always find that if someone does this move, it will be applied programmatically. All the fields that I will tell you in this video are done programmatically. I will tell you how, God willing, as an idea, so that you know. At the same time, we will have an idea about the types of input. I will just write name = color to see my color after I choose it. The field is a part of the color you choose. The color you choose will appear here. If you send these
Speaker A
data, the color code will be sent. They call it the hex code. This is the color code. Let's hide our data here. We will go to the network. or we can change the gate and go to our brain this is our color and this is our color this is the hash and this is the hex code of the color great, this is good, no problem does the color have any limitations? no, nothing let's take a field from the cool fields which as I told you, it works programmatically in blue but we
Speaker A
will take an idea about it Range means the range of something from something to something starting from a place to another The type of our field is called Range We will call the name Range to see the value we will send when we submit to the form And let's change this post to get to see it immediately instead of opening the network tab Here we have the range and the attribute that this column accepts. It accepts the attribute minimum. What is the range?
Speaker A
Let's say it starts from 0 and the max is 100. this is a great thing this is our range as you can see it goes from one to one and it goes all the way with you can I control this step? of course you can control it you can control this step by the step attribute You have from 0 to 100, you want to count 1 to be 20. So every step you will count it, you will count 20. So from here I will tell him 1, 2, 3, 4, 5. So 20, 40, 60, 80, 100. This is my range. So where
Speaker A
did it start? Look where it started from this part because you did not specify where it started from. We will come here in the value and tell them that you want to start from 0. Here it will start from the beginning. 20, 40, 60, 80, 100 I can start from 80, no problem I can go back to 100 and go back I don't need to tell you that the range or the way you move in this way is not used in many things People who come to save the server from a company keep
Speaker A
going to the capabilities of 200, 400, 600, 800 and the price goes up it will work better than that in JavaScript but you must have an idea about our input to understand it well the last thing in the lesson is the number the number is a number and the name is also a number and it accepts the minimum and the max and all that what does the minimum and the max do here? I told it minimum equals 10 what does 10 mean here? max equals 10 the
Speaker A
number is accepted as a number but if I write it like this I'm trying to write a string but it doesn't write write a number, it writes the number can be written like this and it goes down 20 for example If I don't put the minimum and the max, you can add the numbers as you want, no problem. Let's see, this is the number, and you go down with the square, no problem. We come here, from minimum 10 and max 100, and I want to tell them that the
Speaker A
step equals 10, which means 10. it will be 10, if you write the number here and say go ahead, you see it will be 10 and the max is 100, you go down completely it will reach the 10, there is no below it, why? because you told it the minimum is 10, it starts from 10, so if I wrote a number with my hand, no problem, write as you want, when you come to send the data, I will show you what I will tell you now, we will write here for example this,
Speaker A
because it is mandatory, and we write this, and the password, and the color, anything and choose the range once and write any number here and say save it will say value must be less than or equal to 100 so here it wants the value to be 100, it sent the data, see the number is 100 and the range is 20 and the color is here so we know the input types we agreed on, hidden, reset, color, range, number
Speaker A
Today we will take together some important attributes to complete the previous attributes and to cover the most part of the form. The first attribute is Read Only. It's a read only book. What is the benefit or wisdom behind having this Read Only attribute? Let me tell you that if you are one of the people working on a content management system called WordPress, you will enter WordPress and you will find that you cannot change your username. You can change your
Speaker A
email, you can change your password, but not your username. If I entered the settings page, I should see the username like this, correct? Correct. But you cannot change it. So what can I not change it? By putting the Read only attribute read only if you did this you will find that the username let's put a value in it so this is the value in it for example my name is osama and let's try to change it and see what happens here guys you will find read only you can delete it you can do
Speaker A
what you want there is no problem but you can't write see Do you hear the keyboard sound? The data is still being copied. It's normal that our data is being copied. I'll tell you why I'm telling you the word "data is being copied". Here, guys, for example, 10 Save All of our data will be found by a user named Osama It's read only, yes, for reading only, but it will be copied normally, no problem What's the advantage of this? The advantage is that your data will remain saved, but read
Speaker A
only It will be written for reading only And of course, when you go to see the data, you will find it available and it will be copied normally with the other data, no problem Ok, you told us that the data will be copied normally Does this mean that there are data that may not be copied? Yes, there are data that may not be copied For example, I have an email, I don't want to talk about it too much. This email has the value in front of it, and there are sites like Paypal and
Speaker A
other sites that don't allow you to change the email. Because changing the email is a disaster. It's related to many things in the system. So I can leave the email as you see it, and make it disabled. Here the read only is different Look at what the disabled does The email is all disabled Look at how the column is colored It is shaded Here you can copy it and write it, it's very normal, there is no problem at all but the important point is that these
Speaker A
data are not sold because it is disabled let's see together write the password, the email is available, write any color here and here the range and here the number for example 10 and say save let's see together the subject, the password where is the email guys? do you see? user subject Then pass, color, range, number and email You can send it after password, it should be here Because this field is disabled So I need to differentiate between read
Speaker A
only and disabled To understand the idea Read only is for reading and sending data Disabled means you can't send data and edit it And read only also can't edit it we have a very funny thing called auto focus let's say that when the person opens the page he wants to focus on the subject, like this this is the focus guys the movement I'm doing is called focus so I'll focus on the field and start writing in it the person when he opens the page will be focused where? not anywhere, it's ok you go
Speaker A
by yourself and decide where to focus ok, let's come to our subject let's search for it together, this is the subject and I'll say auto focus focus, like this, the first time the page refreshes, it takes me to the subject to write it, see? we reload it, here, auto focus, it does auto focus on a field because it wants, the first time a person enters the page, to write here immediately, so it's in front of it, ok It's very great and we have two
Speaker A
attributes that complete each other and hopefully they are very simple. The minimum length and the max length. The length is the number of characters that you write in the line. If you want to make a password and the person doesn't go like the thief and write you the password 1 2 1 2 you are being cheated. I want the password to be at least 10 characters or 10 letters or 10 numbers. So we have here an attribute called minimum length. Lens = 10 Now,
Speaker A
the person has to write 10 characters in the password to pass the test. Let's try it. This is the subject, and this is the password. 1, 2, 3 4 5 6 7 8 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Speaker A
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0, 0, 0, 0, 0, 0, 0 You can go on and on. If I wrote the password 1, 2, 3, 4 and I made a mistake, it's fine. It will tell you here, "Linsen Zystex to 10 characters or more." It means it has to be 10 characters or more. It tells you that you wrote 4 characters. I'll continue with you. How many characters did I write? 10. So I made the minimum length and I have something called Max Length So no one will be confused and
Speaker A
make the password his life story I go to school everyday in the morning and I love my friends and make the password from here to the end of the street So I have the minimum length 10 and the max 20 Let's choose some things together quickly and the number will be like this and write the password 1,2,3,4,5,6,7,8,9,10 and keep writing you will notice that I am writing the max length of the keyboard is not complete and even if you did this Ctrl+V and press save and
Speaker A
save the values as you see here Minimum and Max Lens are important and you can do a good validation without any programming language Remember guys, in the syntax lesson, when I told you that there will be a day when you will find that we need to do this move, the day we said it to you came, oh wait a minute, guys, here now you will need to do this move and because I didn't make the formatter at all, because that's how it will block all the things next to each other, let's do this format on save
Speaker A
and see what it will do to us as soon as it saves, because it will enjoy it now from the customization, guys, the more things like this, it will keep downloading them for you like this, the smaller things are fine, no problem this is better to be able to read all the attributes because by the way, it can be added by this way today, we will deal with two of the great inputs which are the radio and the checkbox Let me tell you that in any of the websites that you register in,
Speaker A
there are times that websites ask you for information about you and tell you that they want information about the operating system that you are working with. They give you Windows, Linux, Mac and tell you to choose from them. So you choose one of the three. In other websites, when you subscribe, they tell you that they want to see your hobbies. They give you 20 or 30 hobbies and you learn from one of them. The first one we talked about is the radio.
Speaker A
You choose one of a set of things. One thing only. The checkbox is the list. You choose more than one thing at the same time to tell them all the things I'm working on The first example I told you is that if someone told you that you live in one country and he gave you 5 countries, it would be logical that you don't live in two countries at the same time So you choose one of the five But someone might come and tell you what languages you know, so it is very important
Speaker A
that you know 5 or 6 languages, so you choose more than one Here is the checkbox and in the first example the radio Let's do it together, here is the line and we start to make our checkbox because this is a very very very nice thing Let's see what the checkbox is doing First, we want to create the first example for the radio and see if someone wants to know if you are working on a operating system called what I mean, we have three operating systems right now We have Windows, Linux
Speaker A
and Mac Each of them will be in a div There is the checkbox or the part you choose from it and the label they know for you Let's see how it looks like This is InputTypeRadio And its name will be OS or Operating System This is the name of the operating system And its value will be the operating system name What is its name? Windows Great, if you go and made this radio alone like this, you will find a better option, there is nothing from it, let's zoom in like this, it is not clear
Speaker A
what this is, of course, I must put a label next to it to let me know what this is, let's do it once, what is it? They are together so that they are not attached to each other, great, where is the label that tells me who is this brother? Well, the first thing you will notice is that the label of the radio type and the checkbox is after the row that is not before it, why after the row? I'll show you what we did before the field This is our label that
Speaker A
we're doing in all fields Our choice is called Windows, great, look what happened Have you ever seen the windows or the label here and the choice after it? No, you always find the choice before it, so the label must be under it like this This is the first one we have, guys, we have another one from it, of course, as we agreed, we have another one from it, this is the second and this is the third You have windows here and you have linux here and the value will be Next, you have Mac, Macintosh,
Speaker A
and Mac. The three will be in front of you, and you will choose from them what you want. Let's go together and choose some data quickly from what we write, and choose one of them, which is Mac, and tell it save here we need a big password save here you see guys the OS equals MAC operating system so this is one of the options we chose and everything is fine and we don't have any problem at all This is a great and simple thing, and I don't see any complications, thank God.
Speaker A
There is a new attribute that we will learn, and it is very cool. What is it called? Checked. What does checked do? It makes you, as soon as you open the page, there is one of these options, which is checked. What do you think, guys? Until the lesson is over, let's just go to Simply, we don't need to worry about all these things to keep them for us and we can be comfortable with the radio and the checkbox. What do you think guys? I agree. Let's see together. Great. Let's go down a little
Speaker A
bit and see who you want to check. Of course, most of the things people use are Windows, so we will write here check it, like this, ok? let's see what happens when I refresh it it checked on Windows automatically, because you told it it checked but that doesn't mean we can choose anything else, no problem I told it save, I chose Mac, I chose Linux, no problem great, everything is fine, like the full ok, someone took care of something
Speaker A
you will say that you didn't notice anything let's see an important point here if you go to any of the checkboxes you will find that the person is clicking on the word not here when he clicks on the word nothing happens because this label is not connected to this field at all they must be connected to each other to be able to click on this word you have to make a check here like you clicked here honey and perfect here it will lead us to connect the label with its input not only this label but
Speaker A
this one and this one and all these labels ok let's do it together and leave the number we need to try the same experiment so we have the number and these three how do we connect the label with its input? by using something called ID ID is the identifier this attribute is made like the class when we enter CSS we will learn it in detail but we understood in HTML what attribute means, nice here you have the windows label if you made it id equal and write the name that you like
Speaker A
promise to let someone tell you the name and so on any name you like, hopefully the letter w I will write here "Win" How to know that this label is related to this ID? By the attribute called "For" Look at the name in English "LabelForWin" Look at it in English away from HTML, programming, design, description and all of that "LabelForWin" "LabelForIDWin" That's it, it is related to this If you click on it now on Windows Let's leave it
Speaker A
here for the first time Look at what happens when I click on Windows I will not press again, but these are still pressed on it and it does not do anything. You can connect this label with this input by ID, but I do not want to confuse you. I mean, if you wrote ID here and you told him for ID, you will find that if you press this one, it will open for you. This is of course an advanced experiment like this, you do not want to enter it now. Okay, nice. We come to Linux, okay, ID equals
Speaker A
and then you can choose the language you want to use. make, same thing exactly, that's great, now we will do the experiment here, we will see what it will do, label for num, and we will do in the input id Let's see what's in the number. You can write anything. When you click on the number, it will make you write. See? Because this label is connected here. When you click here, it makes you write. It's like you focused on the field. Great. Let's go back to the deep
Speaker A
space. And let's go back to the the checkbox, nice, now we understand the idea I want to tell you that the checkbox doesn't need an explanation the same thing we did, exactly exactly exactly, I will take a copy from it
Speaker A
and I will show you the difference between them simply very very very simple first thing I need to tell you is that the ID cannot be repeated on the page this ID is called identifier just like your card number you cannot have two in Egypt with the same card number the ID must be changed so I will write this as win1 win1 and this as lin1 and this as lin1 just to change the names like this and the field will change its type from radio to checkbox and the check is not a
Speaker A
problem at all, let's see the difference in the shape first, the correct sign means that there is a multiple check, I can check this and this together, this is a radio, one of them must be chosen, but this is very normal, either you choose the three or you do not choose at all, there is no problem at all, See? There is no difference between them at all. Anything but I changed the ID, as you see, and I changed the type of the checkbox input, so I can choose more than one.
Speaker A
So one of us choose one of more, one or more option, which is this, and one the only option. You choose the only option. When you get an idea in your project, see this idea needs the person who wants to choose more than one, Or should he choose one thing and put the right input accordingly? Our inputs with the practical experiments and applications that you will take in the future are available on the channel. There are many practical applications. The applications
Speaker A
will make you understand and use these things more and more. Here you understand the basics and the idea, but with the practical applications, you will do a very good job.
Speaker A
Today we will talk about the two most important elements in the form, which are the select and the text area. Of course, you hear someone say to me, "Uncle, you always tell us the most important elements and the most important elements." I tell you, "Sorry, it's not a problem. I'm just telling you to focus on me." But they are all important. The first element with me is the select. Select has options that allows you to choose one of these options or two or three
Speaker A
as you like What is the benefit of select? Let me say that you are recording and you have a lot of options that are like the country Note with me an important point that everything must understand its own needs Because if you do not understand its own needs, you will not understand it in a large proportion Now I have a choice to give you an option or one of three options that you choose Which is the operating system Windows, Linux and Mac So I used them here, if you want one of
Speaker A
three, you can use the radio, if you want one, you can choose the three, I really worked on three, I used the checkbox, great. If you ordered from you, then choose your country, and I wrote for you, for example, a quarter of a hundred countries, for example, or I gave you options, there are a quarter of a hundred options. Is it logical to write 400 options on the personal page and keep going down to the end of the street to choose from them? No, it's not logical. What is logical is to have a
Speaker A
select. Select is his job. Let's see together, our select is an element name, like all these elements, I will call it for example books, these are the books I will buy, I want to use ID for the label before it, no problem at all, this is the label, for, and I will call it book, and the ID will be book, this is the label, I will write choose book, Great. Now I will choose a book. Inside select, let's watch the select before doing anything. This is the select, guys. Empty. There
Speaker A
are no options at all. Very nice. Let's make it an option. We put HR here. And we make it an option so that the person can choose from it. Okay. In the "Select" tab, you can use a tag called "Option" This option asks you for a value and a text The text is the name of the book Let's say the name of the book is "Book 1" I'll write "Book 1" and I have "Book 2" and "Book 3" I'll show you the idea of this story Who is this value? Remember when
Speaker A
we were writing anything in the fields and we press submit or save to send the data The value that you write in the field is being sold, right? Right? This value is what is being sold when you choose from it. I mean, this is the book one, the value of it is one, two, three, or any name you want, no problem. So when the person chooses something from these and presses save, he gets this value that goes. Let's see together. I chose book three and I will tell him save. Look, book equals three, which
Speaker A
you chose. So I I send the value in this option, not the text. You have to differentiate between this subject and this text. This text can be written in anything, but this is the value that is sent. This is the most important thing. Great. Okay. I have a lot of books now. I have I have many books that are divided into two categories There are books of science fiction, romance, and police books Can we divide the options in the Select? Yes, we can divide them easily by tag called option group
Speaker A
let's make our tag this is the option group you put in your options group that's it, if you have more books, add option group and add more books, that's it add book 4, 5, 6 and add value 4, 5, 6 and may god bless you, that's it I have a question, the question is can I call this option group? Of course you can call it, look at this the option group is here but it's empty, see? You don't know what these three are, I want you to divide them for me, so tell me what these
Speaker A
three categories are, what is their category? You will write here a label like this and inside the label you write romantic, for example, books and here you write the label, for example It's not called police but it's fine Here as you can see, romantic box It's wrongly written, of course, in the letter S And here as you can see, police box This is an option group, you can't choose You choose from these or these Here it's just an organization of the options inside your select Ok, great, this is nice and there's no problem at all Let's try another experiment together Can the person choose more than one book?
Speaker A
Yes, it is possible. If you allow him to do so by writing here, multiple. Multiple means that the person can choose more than one book. How do you choose them, Tarabos? You have to press Ctrl and press this. Now you chose two books, and these are two books. The multiple allows you to choose more value from the input, as you saw. Ok, very nice and great and like a frog. Is there anything that can make the person, once he opens the select box,
Speaker A
be able to choose something from these things? Yes. We have something here called selected. Look at this guys, it's selected. Look at this together, book 4. Why did you bring me book 4? Because this is what you did to it, select. Here. Why do we choose this option? When you work in a website and you choose your preferences from 20 options, it's normal that I don't select the one I chose before. So, it's normal to have this attribute to make the person select the one
Speaker A
he chose before. Next, we have a very cool thing called Text Area. What does it mean? It's an area for writing the text. The text area is the only variable in Input because it has a lock. The name of the text area is called Subject. any of the things we have, no problem the ID, because if you have a label before you can write it in it, no problem at all and I will leave it empty and I will tell you what calls and rows do let's see together the text area this
Speaker A
is our text area a big place, you write the words in it and you can resize it like this and you can do whatever you want with your own will How does this shape look like? First, you need to be able to write a placeholder here and use the attributes we used, like max length and all of these things So there is no problem because you don't feel it's weird. Here, test, text, type whatever you want, there is no problem. If we come to these calls and we leave it 10
Speaker A
instead of 30, what happened? Look guys, the columns that it wants to extend from the right are less. If I told it 40 calls, you will find that the columns have increased. See, the rows are not the size above 5. the rows will decrease to half, you see? 20 will increase a lot is this the right way to customize the text area? No. Let me give you a look at the future so you don't get upset with me In the future, when you learn CSS you can tell it the height you want and the
Speaker A
width you want, there is no problem at all in this way you will not depend on the attributes in HTML you will depend on CSS to customize text area and also to coordinate other elements without any problem Today we will learn some nice and useful inputs and you can use them in your work. First of all, we meet a lot of people on the websites asking you to upload your image or your CV or to upload any file in the world. We have an input type file that you can use to upload files and send them with the rest of the data in the existing form. Here I write my name, email and phone number and send them my CV and send them my picture. sending data is a backend
Speaker A
thing, as we agreed, and you have nothing to do with it, the programmer is the one who does it, but you are the one who adjusts the input file and you are the one who adjusts its shape and all that stuff. We have a label here that we will call it CV or upload or anything in the world, no problem. Then we have our input, very nice, there are no shortcuts at all, it is a type of file. Let's see the shape of our input together, as you can see, the input looks like this. You
Speaker A
press choose file, you choose any image in the world or any file, it will give you the name of the file here to tell you the file that you will upload or send. Of course, I don't need to tell you that this shape in every browser will find it different. You can find this word, for example, choose file, you will find it, for example, upload or choose or anything according to the browser you are working on. Okay. Now, in normal sites, they
Speaker A
don't leave the input file like this They hide it because it doesn't have customization And then they make it in CSS in a better way So, it will be more controlled and you can control it as you want We have another input called search Let's see the search together
Speaker A
and write search here, from its name search means you will search for something you write here to search you will find that the feature in this column, the normal text column that it has an X mark that makes you clear the search click on it and it will remove the text because you are searching instead of sitting here and doing more steps No, this is one click to remove the part you want to search for. This column doesn't have anything weird, no
Speaker A
shortcuts as usual. We will go to the next column, which is the URL column. The URL column is a link. The difference between it and the text is that it accepts a link from you. You will ask me what does it accept a link from me? Let's say I wrote like this. Will this word accept it? No. Look, it wrote here, "Please enter a URL." If this is a normal word or text, then let it transfer the text. But since you said URL, it needs URL. Like this one above. This one above is URL. See, guys? Send
Speaker A
it normally and continue normally because you sent it URL. And this is what it asked for. Okay. Great, and let's see what's next We have three fields with almost the same idea And there's no difference except for the units of time We have something called date, this date is very important because the person needs a lot to choose the date of the input field Here instead of the person writing like this, he has the option to press like this and choose the date, the years of course, the year and the
Speaker A
day and tell him to go and choose the date as you see here and you can send and do what you want Before the input, the user could do this by using javascript, by getting some libraries, and making a calendar, and you can pick the date you want from the calendar, and change it as you want. I don't need to tell you that you can change it by the arrow, and do what you want, and choose from here. The second field is Months
Speaker A
and Time. You can choose from the same idea, Months, Time, Weeks, etc. Honestly, there are no exceptions except for the shape. It's like I'm showing you the shape. Let me do the Months and the rest at the same time to make time. This is the Month and this is the Time. We'll write Time here and look at them to see the difference. The Month, as you can see here, you choose the Month like this. August will bring you here this month for example, if you want to choose here it will go
Speaker A
down to the years, if you want a certain year, you can go down and get the year before and after, old and new year, 1990, then July. The same thing in time, you click on it and choose the time, for example, do you want the time to be 10:11 am or pm, and you tell it to choose the time. And you can, of course, you don't need to say you can change from here, and you can change from here, and you can change from here, without any problem at all.
Speaker A
Today we will close the oven together, we talked about it a lot and we covered the biggest part that you need to use in your life. At the end of the course, there will be a reference that you can see from it everything related to the oven. There are many things that you will not use in the end, but there is no problem if you look at it. Let's start with the first attribute in the form which is useful for testing Let's say you have a form with many inputs and it has a lot of
Speaker A
validation The person to submit, he fills the data every little bit to submit and the form is passed If he didn't do that, he would have added the password here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here
Speaker A
and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and
Speaker A
here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here
Speaker A
and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and
Speaker A
here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here and here to the fields of the form. Meaning, the form is in front of you without filling it, you tell it submit and it will send it. Here you do this in the testing stage to see if the response you are expecting is there or not, without filling all the data. Meaning, without any validation. Ok.
Speaker A
we have another cool attribute called target, the same idea we did in the link lesson when you put a target blank, the link opens a new page here is the same story, before anything else, when we submitted the form, all the data you wrote went away because the page was refreshed, here the topic is different, the target blank submits the data, it sends the data but it opens the page where you will send the data in a new place or in a new tab Let's make the first one target blank
Speaker A
and go back to our page and write some things here and tell it submit. It opened itself in a new page as you can see and it leaves the page that I have all the data in it because if I do a test of a specific thing, not every little bit of data disappears and I can write it again. So the target is very important in this story and in this testing stage if you want to try. Okay. Let's not focus on all these elements because we have a nice element, Input, like
Speaker A
Select, but there are some more beautiful things. Let's take this with them, like this, and let's start doing our element. Our element is DataList. Input, as you can see, but you won't write its type. You will say InputList and give it a name. I will call it, for example, Programming, which is the programming languages I will make a list of the programming languages that I want to learn and I will show you the difference between them
Speaker A
and the normal select The name is exactly the same as the name you want to make, for example, this is the name that when you choose something, it will be sold, just like the other data Great, to create this list, I will link it to something called programming, which is the attribute list. This is what I will create a list here. The tag is called data list. Inside the data list, there is the same option in the select. But it doesn't have a lock, you don't need to write the lock.
Speaker A
In the option of select, we were writing the value and here the text of the option you want to use. Here you only need to write the value. I want to have a set of programming languages and these languages for example, I will start to choose from them some languages or I will start to choose from them a specific language. For example, php, python, for example, c#, then for example, c, then for example, c++ and so on. And then maybe the last language so you don't get upset. For example, this is my
Speaker A
list, so I can know how to link this list or link the data list with this input by ID. ID equals the same name you made in this list. This is how you made the data list. Let's look at the data list together. This is our data list, you open it like this and choose from it what you want Exactly the same as you did in the select, so what's the difference here? I was doing the select like this and choose and everything is fine Here no, you can search this
Speaker A
data list, if you write the letter C, look, it brought me everything that has the letter C Not the letter C or the letter, no, any word inside the letter C If I wrote for example B, it will bring me the Python and PHP, then I can choose what I want, like this and then you can send the data to it in a Python-like way. Data is handled like a select, but it has a very nice feature that allows you to search. If you have 1000 countries written here, and you need to put the letter
Speaker A
"E", it will get you "Egypt", "Ethiopia", and all these countries, you can tell it "EG" and it will get you what you want. But in the select, you can do this and go down until you reach your choice. Now we finished the last attributes of the form And we learned the data list
Speaker A
Today we have a few quick elements that you can face in your life and we need to talk about them. Of course, I don't need to tell you the elements are very simple and their uses may not be very many. The first element we have is the Q. The Q is the code. One writes a small wisdom in the middle of the words. You need to put the two dots before it, which are these codes. So you use the Q. Let me tell you, for example, this is wise. Word, any empty words of
Speaker A
course. We will see our queue, what is the difference between it and the paragraph. You will find that the queue has two dots that you see. I will zoom in on them. These are these. This is the first sign and this is the second sign. But just to make it clear that this is a code. Our element is an inline element. You will find here a display inline. I need to tell you that in the previous videos we said we will make a video about the difference between the inline and the block elements.
Speaker A
I mean, I just distinguish between them. You will find that the video was not at all important to me because as long as we are working, whenever we get an element, I tell you that this is a block or an inline so that you know. We can put a link in the description of the elements inline and block elements. Great. As there is a code like this, we have another element called block code. From this name, you see it is written as block. It means the same code but this time it is
Speaker A
block. You will find the block code looks different and has curves around it as you see. These curves are to distinguish that it is a and the whole line is not just an inline line like this. Of course, there are some working methods that you will encounter in your life when you dive into the field, by God's will, you copy this code, put two large dots like these, and make the line parallel and make some combinations like this. You yourself, God
Speaker A
willing, when you learn CSS, you can change its shape and make it what you want it to be. Even these marks, you can change them in shapes, change its color, enlarge it, make it all you want it to be. Okay. We have an element called button The button is used most of the time in JavaScript The button is a button that you press to perform a specific action You can use this button in the form But this is not the base practice of the button usage Most of the time you will see this button that you
Speaker A
press to perform a specific action It takes you to a page and opens a product to see what's inside It means things like that We have a very nice thing or an element called WBR WBR is the World Break Opportunity Let's say that if you have a very long link, like a link for videos for example, for YouTube Let me show you an example, this is a link like this The link in front of you, if you entered and you have an element, its width is small This link starts to go
Speaker A
down, as you can see you will learn it in CSS, the word break, which is the long words like this, you make a break on the next line, you see what happened guys, if I have a small def, let me give you an example like this, I don't want to repeat this, don't focus on anything related to CSS, we are just doing an example here you will find the link has a break in a certain place with its mood you didn't control the topic we have a very nice thing called WBR opportunity as
Speaker A
we said WBR is a way to determine where to break the link so it doesn't get out of shape here for example I will put WBR I want to tell it that the first break will come after the word youtube.com/d ok, do I want another break after it from a certain place? yes, from here for example I want to break and this long line here, I can come here for example and break Let's see together, here when we change the size of the element, for example, we leave it 200 like this, see the break started from 2.
Speaker A
The first thing dot com will teach us after the break list, after number 8, here you see guys, number 8 is the break after it. Ok, let's zoom out a little bit. Ok, what's next from the first two? We go down a little bit to see where it will reach, to the letter E, 9E, here it will start the break, exactly, 9E is the break. Here, with WBR, you can define the break from the place you want. Great, thank God, everything is fine. We will go to the next one immediately, and it is the
Speaker A
last one we have, and it is an element called BDI. BDI is short for B-Directional Isolation, which is isolating a place or isolating an element from the direction of the content of the page. What does this mean? We have a paragraph now, I will write in it the word BDI. Assalam in Arabic and number 2 and then the word welcome The correct arrangement is if my page is from the left to the right, how is it supposed to be? Assalam, number
Speaker A
2 here and then welcome Why number 2 here? Because the Arabic content is integrated with the English and the numbers And because our page is now left to right How to fix this problem? To fix this problem, I delete the word about the content If I wrote "Salam" here, I will leave this and take a copy from it And I took this word and put it in the pdi like this So I deleted it from the page direction Do you see the difference? Here you didn't delete it, so they entered each other Here I deleted it
Speaker A
from the page direction isolated, so here he wrote "salam" and then the normal order for the page is 2 and then the word "welcome" this topic is very important and it will be useful if you have an English content with Arabic that fits together the B-direction isolation is a very excellent element to solve this problem today, inshallah, we have three elements with very small numbers, you will love them very much and they are very new, frankly The first element is
Speaker A
called code This element is computer code If you have a computer code that you want to write in programming language, you write it here It will tell you where to use it Let's see this page together This is a course that created something specific You will notice that this course has a code The code is not written like HTML or something like that No, this code is written like this It has syntax and colors that are different from each other It
Speaker A
has an organization and the distances you make are saved like this On the contrary, if we wrote in HTML and put spaces, remember guys in the syntax lesson, these spaces were ignored. Here, let's talk about it a little bit, but we will make an example about the code. I will make an example about any computer code or any programming language code, like JavaScript for example. For the experiment only, the idea is not more than that. var x = 10 and var y = 20 and I will tell them
Speaker A
to put them together, for example x + y. Our normal is that if you want to see your code, you will find it next to each other, and it is normal. This is the computer code. You will find that the code does not have any combinations. Then you can combine it and do what you want. Let's look here. to clarify the idea you will find that there is a code here you can do whatever you want to do with it ok, let's come to the most important point and element which is the pre-formatted text the
Speaker A
pre-formatted text, our element today keeps the things you do inside it means if I put a space or anything it keeps it nice and strong let's see what it keeps I will make a paragraph and write this is then b for example Of course, it's New Line and then New Line As you can see, we will see all of this as we agreed in the syntax lesson on the same line If we change this paragraph to the Pre, which is the Pre-Formatted Text Look guys, what happened?
Speaker A
The Pre-Formatted Text keeps what you do inside, the distances and all of that Even if I did this and then you will find that the word is in front of you so the preformatted text will contain everything that appears in the HTML as it is exactly so do we use it for the reason that I did this? of course not, we use it for something like this this code for example, let's leave this and put a new precode You can see the difference between the top and the bottom of the code, it's
Speaker A
pre-formatted text It keeps the distance and the new line and all the things you've worked on so the code will appear as you see it here This is pre-formatted text, of course it has some adjustments, like where you'll learn CSS in the future, it'll be adjusted, the background and everything else
Speaker A
Another element that is very important is the I-frame You can use it to create a whole page with loads on the page you are in So, I may have a small box here, with a page from another place. This page from another place can be a page in your device, or in your project, and it can be a whole website that you can put in this place. Let's try a website called zero.org, like this, and add it here in the source, and we'll look at our page.
Speaker A
This is our page guys, you will find the square part of the iframe in the whole zero site as you can see Of course there is a very important point, the ring or the halic First, there are websites that prevent iframes. People who have learned the old course used to say that they tried Google and it was not good. There are websites that prevent iframes or that you can use it in iframes. Like Facebook, Google, and W3Schools. These websites
Speaker A
can change the policy, but I want to understand you. If you want to use it, you may not read it. The iframe has many elements, you can give it width and height For example, I can give it 800px or 400px We will learn the dimensions of the pixels when we go to the CSS This is our website to change the size of the box and the location of the frame. Of course, don't try to build a dream and hope on this iframe because it's not fun to use and not always useful. I just wanted to tell
Speaker A
you that there are more profound and beautiful ways than you can create a frame like this. There are more beautiful ways to get data from another site and present it here in this way through something called API, but this has another story.
Speaker A
Today we will talk about accessibility. The word accessibility means the ability to access. Accessibility is a set of rules that you make on your page to enable you to access your content. Who is the ability to access? The normal person opens the site and browse it without any problem. Some people, God has given them the ability to become deaf, or have a problem with the colors in their eyes, or have hearing impairment. or anything like that, God bless everyone
Speaker A
and we will not see anything like that in our lives this person to see the site like you and to browse and read everything you need to apply the rules of accessibility to make it easier for him to do this, so how does he see this content? let's say for example the thin person uses something called screen reader You have the ability to read the content, the device reads the content. To read the content correctly, you need to apply the rules that we agreed on so that it does not face problems in
Speaker A
this. Does accessibility apply to all people? No. Many places do not apply this issue. But we must know it today so that when the time comes to apply this, it will be ready by God's will. let me tell you that if you open the settings on your phone you will find the accessibility settings let me show you the iPhone, there are the accessibility settings there is a voice over that can read everything on the screen there is a magnifier and you can see
Speaker A
the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and
Speaker A
the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of
Speaker A
the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and
Speaker A
the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of the lines and the colors of
Speaker A
the lines and the colors of the lines and the colors of the lines and the colors of the lines so in the accessibility world, we talked about some theoretical things let's make a form in our page and put any input in this form and put div like this and write in it, for example, "sint" and another div called "reset" and so on we have in our world generally something called semantic elements that we talked about that the element is logical and expresses what
Speaker A
is inside there is something even higher than that that you use the element This is to use the right element for the right content. You might say that you can use this button in JavaScript to make the person who clicks on it make a sub-matte for the form. Of course, it's possible. There's no problem. But you're away from the world of accessibility and the possibilities of easy access to the thing. I want to tell you that if we left this and
Speaker A
we looked at it, you'll find that you and you are writing a little bit of stuff here and you click on the tab, look, it gives me where? First, it will take me to the file, then the URL, then it will take me back again. One of the things in the buttons is that you can move between the buttons with the Tab. This is one of the things in the buttons. Like this, let's see. Not only that, you can also click on the buttons. I can control the elements very easily. If you place the
Speaker A
elements in the right place, with the right content, the problems you saw will be out of the way. The environment will change the behavior of the element in JavaScript. Or the element will not be able to do something. Ok, that's nice stuff. Let's see an example of how to check accessibility to know the flaws in the website. For example, I created a full website and I want to know the flaws in accessibility. The first thing that you notice is that when a person is looking at a form, if this
Speaker A
form doesn't have a label for the input inside it, there will be a problem in accessibility. The ability to access this element to write something will face a problem. Let's see together in Google Chrome First, we need an additional file to open the page instead of opening it with the protocol of the file I will open it with the protocol of the http in this way How? You have an additional file in the Visual Studio Code add-ons called Live Server which is this
Speaker A
one, just download this additional file and install it then you will come to your page and say open with Live Server so the page will open for you in this way This is our form, I will do an inspect to show you in the settings You will find something called Lighthouse Lighthouse will report all the problems you have on the page Report about performance and best practices and report about SEO and device and we only need accessibility let's generate
Speaker A
this report and see if it's finished you will find that it gives you some parameters that you need to follow to improve the accessibility in your site one of these things is that you have HTML lang attribute which is very good for the Search engines and screen readers to know the content language so we have here an attribute named lang and I will write it en this is our language we also have the label as we agreed, it will write that your form does not have a label like this so
Speaker A
here I will tell it for example before this input that this is the username the user will write here the username for example there are some things that you will see in the next lesson like the ariel that we will talk about in the next lesson and some things that you didn't write and he did it for you you will find a lot of things in the world of accessibility as we agreed but in the next lesson we will explain some things let's go after we finish this we will do the report thing
Speaker A
and you will notice that it has a link here that says improve accessibility on the page and some nice information and nice things that you applied it will make a big difference to you ok, once you close the inspect and open it again and generate a report again to see the things that it asked for to be fixed of course the number increased as you can see and here it talks about the label, we will click on it to see it says that there is an input here the screen reader should
Speaker A
have a label for the input we should not put them together so I will type input type text let's say name = user and here we connect them with ID ID equals user and label for user as we learned in the form lesson and let's do inspect again and tell it to choose lighthouse then accessibility then generate and then see As you can see, the accessibility is 100% but that's not a good thing because we don't have any other form on the page. The
Speaker A
page is empty as you can see. When you make a big design, content, sections, headings, and paragraphs, you will see the wonder here and you will see many things that you can fix. I just want to say that you are now seeing your content 100% but there are things you are not doing, which we will talk about in the next video. I just want to say that this world exists because you need to enter it, be ready and search for it because it
Speaker A
has another story. Do we always have to look for accessibility? Not everyone does this, but when you need to do this, you have to search for it well to do it.
Speaker A
Today we will talk about the ARIA ARIA is the abbreviation for Accessible Reach Internet Application or the possibility of accessing a rich or decent internet application with content The words we said about the screen reader before will now be practical We have a program here called JAWS, which is a screen reader program Let's do a setup and show you how the screen reader works so you can see for yourself how the content reads and how the tab is important to move between elements and understand
Speaker A
what's happening As you can see, it reads everything for me, and if I press space it will tell me that I checked and the tab will tell me between options and license as you can see, I made a setup for this program and I made a problem to get the error to show you even the error will read it did you see guys and the error will be able to read it and tell you that you have a problem and you will do a restart and fix it and so on. So screen
Speaker A
reader helps the person who doesn't see the content to be able to read everything if you did it for him correctly. Ok, in our page I made H1 the title of the book and I made H3 the title of the chapter and H2 as you can see H2 is here and H3 is here as we agreed let's check the accessibility page and see what it says first of all, the heading arrangement is important as you can see, you should arrange them there are some things in the world of accessibility not just the rules or attributes that
Speaker A
you add to the elements there are things about colors and design and all that let me show you the design for example here I made a form you buy something for example you put an order I wrote pay with and ship to and what is the problem here? first in colors that the color is not clear in the background and secondly that these elements are far apart and may not be related to each other and no one who has a problem in the view cannot connect them together I will show you if they are
Speaker A
under each other, it will be easier and more beautiful. Of course, I don't need to tell you that the two shapes look bad, but I will show you the idea that the subject also has an intervention in design, and the places of the elements, and the colors. I will give you an example now. If we go to a paragraph like this, and you give it CSS, guys, because I know that people say, "CSS, without CSS, you said there is nothing." and we will go through it but you have to understand the
Speaker A
story I made a background for the paragraph in black and the color is white so here is something called contrast ratio 12.63 and it wrote a correct sign meaning that this white color is very visible in the color behind it but if you come to this white color and you come closer and see what will happen from the black color the color is not clear so you will find that the ratio starts to put a sign like this to tell you that there is a problem and if you go to it It will give
Speaker A
you some information about colors, the ratio of colors, the background and how the colors are made and all that And as you can see, Accessibility Accessibility is something special in this world, of course The truth is that I have a clear background color inside it, so you have to see this correct sign Now, the problem with colors is that the color you made is not clear in the white background. That's why I wanted to explain that
Speaker A
it's not just rules or attributes. This is a great thing. There are many things you will find in the which is the report of the lighthouse, there are many things that can teach you this world or introduce you to this world with a very strong heart. Let's take an example of something that exists on the site, like the checkbox. You made a form that has some skills and the person chooses from it. There is a checkbox by default, you can go to the
Speaker A
other to choose the skills you have. This is a great and beautiful thing. The behavior of the checkbox is very normal for the screen reader to understand that there is no problem with the checkbox. If at some point you want to make plans in an exchange site, for example, three plans, each plan in this way, plan one, plan two, plan three. When you see these lines on the web, you'll find 3 divs next to each other, and the person chooses one of them, and you'll find that he made a border for it,
Speaker A
so he can choose it. This is done with JavaScript, not with checkboxes like this. In some cases, you need to make another element that does the same behavior as the first element, or does the same behavior as the first element. We can make a div like this that does the same work as the checkbox, How do you do it? Great! To make the screen reader understand this, you need to add some attributes to these elements. Among these attributes, I want to say
Speaker A
that this is a checkbox, the same idea as a checkbox, not a checkbox. I can choose between them. So I have a rule here, like this, a rule equals checkbox. I just showed you that this is the same idea of the checkbox work. This is great. You have a checkbox here that is checked by default. This is not done. When I open the page, I will find this and select it. If I want to do this here, what do I do? I will come after this row and say area checked. So, the first line is selected, if I
Speaker A
don't want it to be selected, it will be false. Great, we have something called tab index, so we can make a tab between them. You will see this example when we do it. and then we will continue with the information now I will go to the tab and show you something, it does not go to them, we save and then we will find that it goes to them like this because you put the tab index attribute now in the checkbox there is a label that expresses the checkbox, is it
Speaker A
correct? it is correct, here we will also make a label, I will say area labeled by and then you can label it by the id of the label you created I will call it plan1 and the same thing you can put it here in label or in answer and you can write id = like this and you can write plan1 label this is exactly the same behavior of the checkbox but using the area attributes that make it easy for us to access the content If the user is using a screen
Speaker A
reader, he can make a tab between them and check anything in them. If you want to add more information through the ARIA attributes, it will be a great thing. The ARIA attributes, or the attributes for the Accessible Reach Internet application, give the element the missing information that makes the screen reader able to understand it. What are the missing information? If I left it as default and choose between the three, it's ok. But if someone uses a screen reader,
Speaker A
he won't be able to understand that these things are selectable. So, the extra information that you defaulted, makes him able to see these things. If you went to a framework like Bootstrap, you will find that they use these things to let the screen reader know why I do this. I don't have to tell you that the world of accessibility is a big world and the two videos we saw are a great entrance to this world. If you are one of those people
Speaker A
who asked for a project to be perfect in accessibility, you will enter a very, very, very great world. and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very
Speaker A
beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful
Speaker A
and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and
Speaker A
very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very
Speaker A
beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful
Speaker A
and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and
Speaker A
very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful and very beautiful
Speaker A
Today is the last video of the course, we finished all the videos I should be now understanding how things work but I want to be more professional and understand more what should I do Let's go to the zero.org website In the learning section you will find the courses and the cost of the courses And here in the courses you have the front end developer or the back end, it doesn't matter to us Here is one thing I need to tell you what to do after that, which is the references. Great, let's go
Speaker A
step by step. First thing, After the course ends on YouTube, you will find a card like the cards that talk about our HTML. It has the number of videos and the word "Completed" by God's will. You will enter it like this, this is an example, of course, we did not upload it. You will find all the videos on YouTube, each video has a post like this, with the same number, with the same name, with the same everything. You will find the courses written in the
Speaker A
course here, so you can return them if you want. Thank God, great! I found the courses in the course and returned them. Now you have the costs. You will find here the language of our course, HTML course. You will find costs like this. You will find the cost of the course from 1 to 5, 6 to 9, 10 to 11, and so on You will enter the cost and find some things you need to do These things will make sure that you have really learned the course And you will find things that
Speaker A
require you to create a page and put a title in it and so on To make sure that all the videos you understand, that's why you will do this All these costs are taken from the course. Ok, I finished all this and thank God, I want to add more information. You will find here references that are related to the language. I went back to MDN, HTML reference, W3 schools, and many other sites. All elements that we dealt with, you will find each
Speaker A
element has a lot of information. For example, you will enter the LI, you will find the LI experiments and information about it, and you will enter the element inside it, and everything you imagine. Here is another reference, you can take the form, the list, the tables, and so on Here is the HTML element reference of W3, you can search for it and everything Now you have the assignment, the available fields, the references, and some missing
Speaker A
things that are supposed to be of HTML like the canvas There is a thing called Canvas API, you will find a full course of 14 videos on the channel This is a very advanced skill, you do not need to learn it now But one day, God willing, when you start learning it, it is in front of you on the channel I hope you liked the course If you liked the course, it is from God, if you did not like the course, it is from me and from the devil And we will see you with a new course, peace be upon you
Topics:HTMLHTML5web developmentfront endsemantic HTMLformsmeta tagsaccessibilitybeginner courseElzero Web School











