HTML Tutorial for Web Development and Design
HTML is the language of web the structure of web pages is created with the help of Html it is styled with the help of css and logic is added to it with the help of javascript. In 1989, Tim Berners-Lee established the http://www and he created the Html in 1991. Html was a very basic language at that time which did not even have an image tag well it is still a basic language even in today's time.
A fair warning is this if you click on "view page source" after the right-click then you will get to see these comments so we should not put any password or secret thing at least in the comments of html. You can write headings in html something like this you have headings from h1 to h6 which are given in decreasing order of their size the syntax of using headings is something like this.
After that, you can write paragraph if you want to write any content on your website. The syntax of writing paragraph is something like this you can move from one page to another with the help of links now these links can be the links inside your website or can be a reference of another website.
The syntax of using links through anchor tag is something like this by using the tag, if you will enter the url of any website inside href or the url of any relative page in your website then you will reach to that website after clicking on it. There are also attributes inside html which you can write inside a tag something like this here you guys can see that the target attribute of the anchor tag indicates do you want to open your website in a new tab or in the same tab and same window?
This syntax helps you to open web page in a new window.
To style any tag, you can use the style attribute something like this you can write css inside it which will style your that element. You can use the tag for adding images whatever image url you give inside its src attribute that image will be displayed on your web page. There is also a "alt" attribute inside image tag which you can use to describe your images and are self closing tags with the help of which you can produce a horizontal ruler and a line break.
To represent any list inside the html page you can use the ordered list or unordered list the syntax of ordered list and unordered list is something like this and if you want to add list item inside any of these lists then you can use the tag the syntax of tag is something like this.
Sometimes we need to write our data in tabular form and for that tables are there in html The syntax for creating tables in html is something like this a syntax for creating a basic table in html is something like this here tag means table rows, tag means table data and tag mean table heading. You can insert forms in html something like this you can use the input tag here. To get any input like text, phone no or email id from the users, you can use the text area to take input of a large text. To submit these forms, you can use the buttons something like this. In Html 5, you can also use check box and radio buttonssomething like this.
Html is able to manipulate the formatting of your text to a great extent for example, if you see this code base then expected output is very different from actual output. You guys can use tag to keep your text as it is in your website. To write any source code, you can use the code tag something like this. To do bold, italic, underline and many other text manipulations, tags are available in html which you can use something like this.
There are two types of elements in html: Inline elements and Block elements you can fit the inline element in between a particular line for example, image tags and link tags and block level elements always start with a new line A very good example of block level element is is div tag which starts from a new line.
You can style your html anytime by adding css to it and to target the elements you use Ids and Classes. You can also use many other selectors but Ids and Classes are used mainly. To uniquely identify an element, we provide the ID and to put an element in a class you can give a class to multiple elements.
Bonus Video For You:
- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
Great Blog. You just helped me with my assignment. Thanks
ReplyDeleteThanks...
DeleteAmazing keep it up👍
ReplyDeleteGreat Blog!
ReplyDeleteGood to hear...
DeleteWell Done👍Its Amazing👌
ReplyDeleteAppretiated..
DeleteVery informative💚
ReplyDeleteIt's Amazing
ReplyDeleteAmazing
ReplyDeletejazakallah
DeleteAmazing👍
ReplyDeleteThank you..
DeleteFocus on your future and work harder ☺️
ReplyDeleteThank You..
DeleteGreat use of words ☺️
ReplyDeleteWell done 👍
ReplyDelete👍👍👍
ReplyDelete