for headings,
for paragraphs, for links, and for images to structure and layout content. HTML documents also use tags like and to collect user input through forms. More advanced features include tables, lists, frames, and applying styles through CSS."> for headings, for paragraphs, for links, and for images to structure and layout content. HTML documents also use tags like and to collect user input through forms. More advanced features include tables, lists, frames, and applying styles through CSS."> Address: [go: up one dir, main page] Include Form Remove Scripts Session Cookies Open navigation menuClose suggestionsSearchSearchenChange LanguageUploadSign inSign inDownload free for days0 ratings0% found this document useful (0 votes)68 views10 pagesHTML FileHTML is the standard markup language used to create web pages. HTML uses tags like <h1> for headings, <p> for paragraphs, <a> for links, and <img> for images to structure and layout content. HTML documents also use tags like <form> and <input> to collect user input through forms. More advanced features include tables, lists, frames, and applying styles through CSS.Uploaded byAnjali KambojAI-enhanced title and descriptionCopyright© Attribution Non-Commercial (BY-NC)We take content rights seriously. If you suspect this is your content, claim it here.Available FormatsDownload as RTF, PDF, TXT or read online on ScribdDownloadSaveSave html file For Later0%0% found this document useful, undefined0%, undefinedEmbedSharePrintReport0 ratings0% found this document useful (0 votes)68 views10 pagesHTML FileHTML is the standard markup language used to create web pages. HTML uses tags like <h1> for headings, <p> for paragraphs, <a> for links, and <img> for images to structure and layout content. HTML documents also use tags like <form> and <input> to collect user input through forms. More advanced features include tables, lists, frames, and applying styles through CSS.Uploaded byAnjali KambojAI-enhanced title and descriptionCopyright© Attribution Non-Commercial (BY-NC)We take content rights seriously. If you suspect this is your content, claim it here.Available FormatsDownload as RTF, PDF, TXT or read online on ScribdCarousel PreviousCarousel NextDownloadSaveSave html file For Later0%0% found this document useful, undefined0%, undefinedEmbedSharePrintReportDownload nowDownloadYou are on page 1/ 10SearchFullscreenIntroduction To HTMLHTML, which stands for Hyper Text Markup Language, is the predominant markup language for web pages. HTML is the basic building-blocks of webpages. HTML is written in the form of HTML elements consisting of tags, enclosed in angle brackets (like <html>) within the web page content. HTML tags normally come in pairs like <h1> and </h1>. The first tag in a pair is the start tag, the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, tables, images, etc.HTML HeadingsHTML headings are defined with the <h1> to <h6> tags.Example<h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3>HTML ParagraphsHTML paragraphs are defined with the <p> tag.Example<p>This is a paragraph.</p> <p>This is another paragraph.</p>HTML LinksHTML links are defined with the <a> tag.Example<a href="http://www.google.co.in">This is a link</a>HTML ImagesHTML images are defined with the <img> tag.Example<img src="w3schools.jpg" width="104" height="142" />HTML ElementsAn HTML element is everything from the start tag to the end tag: Start tag * <p> <a href="default.htm" > <br /> * The start tag is often called the opening tag. The end tag is often called the closing tag. Element content This is a paragraph This is a link </p> </a> End tag *HTML AttributesAttributes provide additional information about HTML elements. HTML elements can have attributes Attributes provide additional information about an element Attributes are always specified in the start tag Attributes come in name/value pairs like: name="value"Attribute ExampleHTML links are defined with the <a> tag. The link address is specified in the href attribute:Example<a href="http://www.w3schools.com">This is a link</a>HTML Text FormattingThis text is boldThis text is big This text is italicThis is computer outputThis is subscript and superscriptHTML Formatting TagsHTML uses tags like <b> and <i> for formatting output, like bold or italic text. These HTML tags are called formatting tags .HTML FontsThe <font> tag is removed from HTML. The World Wide Web Consortium (W3C) has removed the <font> tag from its recommendations. In HTML style sheets (CSS) should be used to define the layout and display properties for many HTML elements. The example below shows how the HTML could look by using the <font> tag:Example<p> <font size="5" face="arial" color="red"> This paragraph is in Arial, size 5, and in red text color. </font> </p>HTML Style Example - Background ColorThe background-color property defines the background color for an element:Example<html><body style="background-color:yellow;"> <h2 style="background-color:red;">This is a heading</h2> <p style="background-color:green;">This is a paragraph.</p> </body> </html> The background-color property makes the "old" bgcolor attribute obsolete.HTML Style Example - Font, Color and SizeThe font-family, color, and font-size properties defines the font, color, and size of the text in an element:Example<html> <body> <h1 style="font-family:verdana;">A heading</h1> <p style="font-family:arial;color:red;font-size:20px;">A paragraph.</p> </body> </html> The font-family, color, and font-size properties make the old <font> tag obsolete.HTML Style Example - Text AlignmentThe text-align property specifies the horizontal alignment of text in an element:Example<html> <body> <h1 style="text-align:center;">Center-aligned heading</h1> <p>This is a paragraph.</p> </body> </html>The text-align property makes the old <center> tag obsolete.HTML TablesTables are defined with the <table> tag. A table is divided into rows (with the <tr> tag), and each row is divided into data cells (with the <td> tag). td stands for "table data," and holds the content of a data cell. A <td> tag can contain text, links, images, lists, forms, other tables, etc.Table Example<table border="1"> <tr> <td>Sr. No.</td> <td>Names</td> </tr> <tr> <td>1.</td> <td>Anjali</td> </tr> </table> How the HTML code above looks in a browser:Sr.no.NAMES1.AnjaliHTML ListsThe most common HTML lists are ordered and unordered lists:HTML Lists An ordered list:The first list item The second list item The third list itemAn unordered list:List item List item List itemHTML Unordered ListsAn unordered list starts with the <ul> tag. Each list item starts with the <li> tag. The list items are marked with bullets (typically small black circles). <ul> <li>I am a girl</li> <li>My name is Anjali</li> </ul> How the HTML code above looks in a browser: I am a girl My name is AnjaliHTML Ordered ListsAn ordered list starts with the <ol> tag. Each list item starts with the <li> tag. The list items are marked with numbers. <ol> <li>I am a girl</li> <li>My name is Anjali</li> </ol> How the HTML code above looks in a browser: 1.I am a girl 2.My name is AnjaliHTML Definition ListsA definition list is a list of items, with a description of each item. The <dl> tag defines a definition list. The <dl> tag is used in conjunction with <dt> (defines the item in the list) and <dd> (describes the item in the list): <dl> <dt>Coffee</dt> <dd>- black hot drink</dd> <dt>Milk</dt> <dd>- white cold drink</dd> </dl> How the HTML code above looks in a browser: Coffee - black hot drink Milk - white cold drinkHTML FormsHTML forms are used to pass data to a server. A form can contain input elements like text fields, checkboxes, radio-buttons, submit buttons and more. A form can also contain select lists, text area, field set, legend, and label elements. The <form> tag is used to create an HTML form: <form> . input elements . </form>HTML Forms - The Input ElementThe most important form element is the input element. The input element is used to select user information.An input element can vary in many ways, depending on the type attribute. An input element can be of type text field, checkbox, password, radio button, submit button, and more. The most used input types are described below.Text Fields<input type="text" /> defines a one-line input field that a user can enter text into: <form> First name: <input type="text" name="first name" /><br /> Last name: <input type="text" name="last name" /> </form> How the HTML code above looks in a browser: First name: Last name: Note: The form itself is not visible. Also note that the default width of a text field is 20 characters.Password Field<input type="password" /> defines a password field: <form> Password: <input type="password" name="pwd" /> </form> How the HTML code above looks in a browser: Password: Note: The characters in a password field are masked (shown as asterisks or circles).Radio Buttons<input type="radio" /> defines a radio button. Radio buttons let a user select ONLY ONE of a limited number of choices: <form> <input type="radio" name="sex" value="male" /> Male<br /> <input type="radio" name="sex" value="female" /> Female </form>How the HTML code above looks in a browser: Male FemaleCheckboxes<input type="checkbox" /> defines a checkbox. Checkboxes let a user select ONE or MORE options of a limited number of choices. <form> <input type="checkbox" name="vehicle" value="Bike" /> I have a bike<br /> <input type="checkbox" name="vehicle" value="Car" /> I have a car </form> How the HTML code above looks in a browser: I have a bike I have a carSubmit Button<input type="submit" /> defines a submit button. A submit button is used to send form data to a server. The data is sent to the page specified in the form's action attribute. The file defined in the action attribute usually does something with the received input: <form name="input" action="html_form_action.asp" method="get"> Username: <input type="text" name="user" /> <input type="submit" value="Submit" /> </form> How the HTML code above looks in a browser: Username: If you type some characters in the text field above, and click the "Submit" button, the browser will send your input to a page called "html_form_action.asp". The page will show you the received inputHTML FramesWith frames, you can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent of the others.The HTML frameset ElementThe frameset element holds one or more frame elements. Each frame element can hold a separate document. The frameset element states HOW MANY columns or rows there will be in the frameset, and HOW MUCH percentage/pixels of space will occupy each of them.The HTML frame ElementThe <frame> tag defines one particular window (frame) within a frameset. In the example below we have a frameset with two columns. The first column is set to 25% of the width of the browser window. The second column is set to 75% of the width of the browser window. The document "frame_a.htm" is put into the first column, and the document "frame_b.htm" is put into the second column: <frameset cols="25%,75%"> <frame src="frame_a.htm" /> <frame src="frame_b.htm" /> </frameset> Note: The frameset column size can also be set in pixels (cols="200,500"), and one of the columns can be set to use the remaining space, with an asterisk (cols="25%,*").HTML Frame TagsTag <frameset> Defines a set of frames <frame /> Defines a sub window (a frame) <no frames> Defines a no frame section for browsers that do not handle frames DescriptionYou might also likeHtmlbasicsforabeginner 180109035906PDFNo ratings yetHtmlbasicsforabeginner 18010903590637 pagesCode Lyoko Generation: Book 1, The Rise of AnaxPDFNo ratings yetCode Lyoko Generation: Book 1, The Rise of Anax281 pagesWP Unit-1PDFNo ratings yetWP Unit-147 pagesHTML CSS PHP NotesPDFNo ratings yetHTML CSS PHP Notes18 pagesHTML Basics Guide Pythonista PlanetPDFNo ratings yetHTML Basics Guide Pythonista Planet16 pagesWebTechnology Unit II NotesPDFNo ratings yetWebTechnology Unit II Notes16 pagesLecture 1 Html-CombinedPDFNo ratings yetLecture 1 Html-Combined57 pagesUnit Ii Web DesigningPDFNo ratings yetUnit Ii Web Designing55 pagesHTML GreatthoughtsITPDFNo ratings yetHTML GreatthoughtsIT37 pagesHTML Slides AllPDFNo ratings yetHTML Slides All61 pagesUnit 3-HTMLPDFNo ratings yetUnit 3-HTML4 pagesGyvbhjnmkPDFNo ratings yetGyvbhjnmk16 pagesHTML Unit1 NotesPDFNo ratings yetHTML Unit1 Notes22 pagesWT UNIT-IPDFNo ratings yetWT UNIT-I143 pagesHypertext Mark Up Language: Jonalyn G. EbronPDFNo ratings yetHypertext Mark Up Language: Jonalyn G. Ebron36 pagesPDF Div Class 2qs3tf Truncatedtext Module Wrapper Fg1km9p Classtruncatedtext Module Lineclamped 85ulhh Style Max Lines5building Llms for Production Louis Francois Bouchard p Div CompressPDFNo ratings yetPDF Div Class 2qs3tf Truncatedtext Module Wrapper Fg1km9p Classtruncatedtext Module Lineclamped 85ulhh Style Max Lines5building Llms for Production Louis Francois Bouchard p Div Compress120 pagesHTMLCSSJS 3PDFNo ratings yetHTMLCSSJS 3113 pagesHTML5 COURSEPDFNo ratings yetHTML5 COURSE51 pagesHTMLPDFNo ratings yetHTML59 pagesMultimedia &AnimationS NEP NotesPDFNo ratings yetMultimedia &AnimationS NEP Notes157 pagesHTML and CssPDFNo ratings yetHTML and Css27 pagesWhat Is HTMLPDFNo ratings yetWhat Is HTML7 pagesIntroduction To HTML 2PDFNo ratings yetIntroduction To HTML 234 pagesAdi BankPDFNo ratings yetAdi Bank60 pagesHTML ppt (1)PDFNo ratings yetHTML ppt (1)40 pagesWeb Programming Unit - IPDF80% (10)Web Programming Unit - I45 pagesWT Lab ManualPDFNo ratings yetWT Lab Manual79 pagesCPL - Bpops103PDFNo ratings yetCPL - Bpops10355 pagesUnit-1PDFNo ratings yetUnit-1102 pagesHTML Introduction: A Simple HTML DocumentPDFNo ratings yetHTML Introduction: A Simple HTML Document8 pagesAbout-HTMLPDFNo ratings yetAbout-HTML25 pagesUNIT 1 - EditedPDFNo ratings yetUNIT 1 - Edited17 pagesReadme For Mastercam X9: Operating Systems Supported in X9PDFNo ratings yetReadme For Mastercam X9: Operating Systems Supported in X952 pagesWT Notes PSPPDFNo ratings yetWT Notes PSP50 pagesRW E-Jet User Manual V12!2!4 Feb 2012PDFNo ratings yetRW E-Jet User Manual V12!2!4 Feb 2012106 pagesOD M1 Introduction To Data EngineeringPDFNo ratings yetOD M1 Introduction To Data Engineering69 pagesNotes Grade+7PDFNo ratings yetNotes Grade+734 pagesweb-tech-unit1-part2PDFNo ratings yetweb-tech-unit1-part220 pagesHTMLPDFNo ratings yetHTML45 pagesInternet Programming (HTML)PDFNo ratings yetInternet Programming (HTML)36 pagesLesson 1: (Hypertext Mark-Up Language)PDFNo ratings yetLesson 1: (Hypertext Mark-Up Language)42 pagesAldwin Karlo M. AngcayaPDFNo ratings yetAldwin Karlo M. Angcaya37 pagesHTML Ppt NewPDFNo ratings yetHTML Ppt New28 pagesi.MX35 ApplicationsPDFNo ratings yeti.MX35 Applications147 pagesCreating Web Page Using HTMLPDFNo ratings yetCreating Web Page Using HTML40 pages4th Quarter Exam ICTPDF100% (1)4th Quarter Exam ICT3 pagesCopy of Module 2. Introduction to HTML.docxPDFNo ratings yetCopy of Module 2. Introduction to HTML.docx26 pagesHTML FormsPDFNo ratings yetHTML Forms7 pagesEce PDFPDFNo ratings yetEce PDF16 pagesWhat Is HTML?: My First Heading My First ParagraphPDFNo ratings yetWhat Is HTML?: My First Heading My First Paragraph8 pagesClass - 10 HTML-1PDFNo ratings yetClass - 10 HTML-162 pagesDos & HTML: Project ReportPDFNo ratings yetDos & HTML: Project Report17 pagesBODY Tag: - : HTML Common TagsPDFNo ratings yetBODY Tag: - : HTML Common Tags15 pagesWeb Programming NotesPDFNo ratings yetWeb Programming Notes82 pages1.notes - Intro To HTML-696PDFNo ratings yet1.notes - Intro To HTML-69618 pagesObstacle Avoiding RobotPDFNo ratings yetObstacle Avoiding Robot9 pagesEarFun UBOOM L Portable Bluetooth Speaker User ManualPDFNo ratings yetEarFun UBOOM L Portable Bluetooth Speaker User Manual42 pagesWhat Is HTMLPDFNo ratings yetWhat Is HTML23 pagesIntroduction To HTMLPDFNo ratings yetIntroduction To HTML33 pagesTushar 36417788818 Project Bcom (H) 6 C E-Commerce HTMLPDFNo ratings yetTushar 36417788818 Project Bcom (H) 6 C E-Commerce HTML21 pagesHTML Tags HTML Markup Tags Are Usually Called HTML TagsPDFNo ratings yetHTML Tags HTML Markup Tags Are Usually Called HTML Tags7 pagesWhat Is HTML?PDFNo ratings yetWhat Is HTML?19 pagesHTML ProgrammingPDFNo ratings yetHTML Programming6 pagesThis A Heading This Is A Paragraph. This Is Another Paragraph.PDFNo ratings yetThis A Heading This Is A Paragraph. This Is Another Paragraph.4 pagesWit Unit2PDFNo ratings yetWit Unit29 pagesSelina Concise Maths Solutions Class 6 Chapter 18 Fundamental ConceptsPDFNo ratings yetSelina Concise Maths Solutions Class 6 Chapter 18 Fundamental Concepts11 pagesTraining CoursePDFNo ratings yetTraining Course51 pagesSoftware Requirements Engineering Training - Problematic QuestionsPDFNo ratings yetSoftware Requirements Engineering Training - Problematic Questions9 pagesJanuary 2015 Calendar (Australia)PDFNo ratings yetJanuary 2015 Calendar (Australia)12 pagesHTML (BScCsit 5th Semester)PDFNo ratings yetHTML (BScCsit 5th Semester)59 pagesWeb Programming Notes PDFPDFNo ratings yetWeb Programming Notes PDF82 pagesOffline Registration Form: General Eligibility CriteriaPDFNo ratings yetOffline Registration Form: General Eligibility Criteria4 pagesDC-Unit 1PDFNo ratings yetDC-Unit 19 pagesHTML - NotePDF100% (1)HTML - Note8 pagesCyber Law and Professional Ethics LabsheetPDFNo ratings yetCyber Law and Professional Ethics Labsheet6 pagesAnil Pakala: ObjectivePDFNo ratings yetAnil Pakala: Objective3 pagesMS Authenticator Change Phone GuidePDFNo ratings yetMS Authenticator Change Phone Guide5 pagesIntroduction To HTMLPDFNo ratings yetIntroduction To HTML17 pagesChandhya ResumePDFNo ratings yetChandhya Resume2 pagesTUTORIAL-1 Curve FittingPDFNo ratings yetTUTORIAL-1 Curve Fitting2 pagesAccurate and Dependable Roll Hardness TestingPDFNo ratings yetAccurate and Dependable Roll Hardness Testing2 pagesAssignment 1PDFNo ratings yetAssignment 14 pagesKamaljeet Kaur: Career ObjectivePDFNo ratings yetKamaljeet Kaur: Career Objective2 pagesInstallPDFNo ratings yetInstall2 pagesEstimation_of_Number_of_Chewing_Strokes_and_Swallowing_Events_by_Using_LSTM-CTC_and_Throat_MicrophonePDFNo ratings yetEstimation_of_Number_of_Chewing_Strokes_and_Swallowing_Events_by_Using_LSTM-CTC_and_Throat_Microphone2 pagesEval PostfixPDFNo ratings yetEval Postfix3 pagesResume 2024PDFNo ratings yetResume 20242 pagesWeb Programming NotesPDF100% (1)Web Programming Notes82 pagesGeneral Mathematics 11PDF100% (1)General Mathematics 113 pagesEasy html and cssFrom EverandEasy html and cssS VASISTNo ratings yet
for paragraphs, for links, and for images to structure and layout content. HTML documents also use tags like and to collect user input through forms. More advanced features include tables, lists, frames, and applying styles through CSS."> Address: [go: up one dir, main page] Include Form Remove Scripts Session Cookies Open navigation menuClose suggestionsSearchSearchenChange LanguageUploadSign inSign inDownload free for days0 ratings0% found this document useful (0 votes)68 views10 pagesHTML FileHTML is the standard markup language used to create web pages. HTML uses tags like <h1> for headings, <p> for paragraphs, <a> for links, and <img> for images to structure and layout content. HTML documents also use tags like <form> and <input> to collect user input through forms. More advanced features include tables, lists, frames, and applying styles through CSS.Uploaded byAnjali KambojAI-enhanced title and descriptionCopyright© Attribution Non-Commercial (BY-NC)We take content rights seriously. If you suspect this is your content, claim it here.Available FormatsDownload as RTF, PDF, TXT or read online on ScribdDownloadSaveSave html file For Later0%0% found this document useful, undefined0%, undefinedEmbedSharePrintReport0 ratings0% found this document useful (0 votes)68 views10 pagesHTML FileHTML is the standard markup language used to create web pages. HTML uses tags like <h1> for headings, <p> for paragraphs, <a> for links, and <img> for images to structure and layout content. HTML documents also use tags like <form> and <input> to collect user input through forms. More advanced features include tables, lists, frames, and applying styles through CSS.Uploaded byAnjali KambojAI-enhanced title and descriptionCopyright© Attribution Non-Commercial (BY-NC)We take content rights seriously. If you suspect this is your content, claim it here.Available FormatsDownload as RTF, PDF, TXT or read online on ScribdCarousel PreviousCarousel NextDownloadSaveSave html file For Later0%0% found this document useful, undefined0%, undefinedEmbedSharePrintReportDownload nowDownloadYou are on page 1/ 10SearchFullscreenIntroduction To HTMLHTML, which stands for Hyper Text Markup Language, is the predominant markup language for web pages. HTML is the basic building-blocks of webpages. HTML is written in the form of HTML elements consisting of tags, enclosed in angle brackets (like <html>) within the web page content. HTML tags normally come in pairs like <h1> and </h1>. The first tag in a pair is the start tag, the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, tables, images, etc.HTML HeadingsHTML headings are defined with the <h1> to <h6> tags.Example<h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3>HTML ParagraphsHTML paragraphs are defined with the <p> tag.Example<p>This is a paragraph.</p> <p>This is another paragraph.</p>HTML LinksHTML links are defined with the <a> tag.Example<a href="http://www.google.co.in">This is a link</a>HTML ImagesHTML images are defined with the <img> tag.Example<img src="w3schools.jpg" width="104" height="142" />HTML ElementsAn HTML element is everything from the start tag to the end tag: Start tag * <p> <a href="default.htm" > <br /> * The start tag is often called the opening tag. The end tag is often called the closing tag. Element content This is a paragraph This is a link </p> </a> End tag *HTML AttributesAttributes provide additional information about HTML elements. HTML elements can have attributes Attributes provide additional information about an element Attributes are always specified in the start tag Attributes come in name/value pairs like: name="value"Attribute ExampleHTML links are defined with the <a> tag. The link address is specified in the href attribute:Example<a href="http://www.w3schools.com">This is a link</a>HTML Text FormattingThis text is boldThis text is big This text is italicThis is computer outputThis is subscript and superscriptHTML Formatting TagsHTML uses tags like <b> and <i> for formatting output, like bold or italic text. These HTML tags are called formatting tags .HTML FontsThe <font> tag is removed from HTML. The World Wide Web Consortium (W3C) has removed the <font> tag from its recommendations. In HTML style sheets (CSS) should be used to define the layout and display properties for many HTML elements. The example below shows how the HTML could look by using the <font> tag:Example<p> <font size="5" face="arial" color="red"> This paragraph is in Arial, size 5, and in red text color. </font> </p>HTML Style Example - Background ColorThe background-color property defines the background color for an element:Example<html><body style="background-color:yellow;"> <h2 style="background-color:red;">This is a heading</h2> <p style="background-color:green;">This is a paragraph.</p> </body> </html> The background-color property makes the "old" bgcolor attribute obsolete.HTML Style Example - Font, Color and SizeThe font-family, color, and font-size properties defines the font, color, and size of the text in an element:Example<html> <body> <h1 style="font-family:verdana;">A heading</h1> <p style="font-family:arial;color:red;font-size:20px;">A paragraph.</p> </body> </html> The font-family, color, and font-size properties make the old <font> tag obsolete.HTML Style Example - Text AlignmentThe text-align property specifies the horizontal alignment of text in an element:Example<html> <body> <h1 style="text-align:center;">Center-aligned heading</h1> <p>This is a paragraph.</p> </body> </html>The text-align property makes the old <center> tag obsolete.HTML TablesTables are defined with the <table> tag. A table is divided into rows (with the <tr> tag), and each row is divided into data cells (with the <td> tag). td stands for "table data," and holds the content of a data cell. A <td> tag can contain text, links, images, lists, forms, other tables, etc.Table Example<table border="1"> <tr> <td>Sr. No.</td> <td>Names</td> </tr> <tr> <td>1.</td> <td>Anjali</td> </tr> </table> How the HTML code above looks in a browser:Sr.no.NAMES1.AnjaliHTML ListsThe most common HTML lists are ordered and unordered lists:HTML Lists An ordered list:The first list item The second list item The third list itemAn unordered list:List item List item List itemHTML Unordered ListsAn unordered list starts with the <ul> tag. Each list item starts with the <li> tag. The list items are marked with bullets (typically small black circles). <ul> <li>I am a girl</li> <li>My name is Anjali</li> </ul> How the HTML code above looks in a browser: I am a girl My name is AnjaliHTML Ordered ListsAn ordered list starts with the <ol> tag. Each list item starts with the <li> tag. The list items are marked with numbers. <ol> <li>I am a girl</li> <li>My name is Anjali</li> </ol> How the HTML code above looks in a browser: 1.I am a girl 2.My name is AnjaliHTML Definition ListsA definition list is a list of items, with a description of each item. The <dl> tag defines a definition list. The <dl> tag is used in conjunction with <dt> (defines the item in the list) and <dd> (describes the item in the list): <dl> <dt>Coffee</dt> <dd>- black hot drink</dd> <dt>Milk</dt> <dd>- white cold drink</dd> </dl> How the HTML code above looks in a browser: Coffee - black hot drink Milk - white cold drinkHTML FormsHTML forms are used to pass data to a server. A form can contain input elements like text fields, checkboxes, radio-buttons, submit buttons and more. A form can also contain select lists, text area, field set, legend, and label elements. The <form> tag is used to create an HTML form: <form> . input elements . </form>HTML Forms - The Input ElementThe most important form element is the input element. The input element is used to select user information.An input element can vary in many ways, depending on the type attribute. An input element can be of type text field, checkbox, password, radio button, submit button, and more. The most used input types are described below.Text Fields<input type="text" /> defines a one-line input field that a user can enter text into: <form> First name: <input type="text" name="first name" /><br /> Last name: <input type="text" name="last name" /> </form> How the HTML code above looks in a browser: First name: Last name: Note: The form itself is not visible. Also note that the default width of a text field is 20 characters.Password Field<input type="password" /> defines a password field: <form> Password: <input type="password" name="pwd" /> </form> How the HTML code above looks in a browser: Password: Note: The characters in a password field are masked (shown as asterisks or circles).Radio Buttons<input type="radio" /> defines a radio button. Radio buttons let a user select ONLY ONE of a limited number of choices: <form> <input type="radio" name="sex" value="male" /> Male<br /> <input type="radio" name="sex" value="female" /> Female </form>How the HTML code above looks in a browser: Male FemaleCheckboxes<input type="checkbox" /> defines a checkbox. Checkboxes let a user select ONE or MORE options of a limited number of choices. <form> <input type="checkbox" name="vehicle" value="Bike" /> I have a bike<br /> <input type="checkbox" name="vehicle" value="Car" /> I have a car </form> How the HTML code above looks in a browser: I have a bike I have a carSubmit Button<input type="submit" /> defines a submit button. A submit button is used to send form data to a server. The data is sent to the page specified in the form's action attribute. The file defined in the action attribute usually does something with the received input: <form name="input" action="html_form_action.asp" method="get"> Username: <input type="text" name="user" /> <input type="submit" value="Submit" /> </form> How the HTML code above looks in a browser: Username: If you type some characters in the text field above, and click the "Submit" button, the browser will send your input to a page called "html_form_action.asp". The page will show you the received inputHTML FramesWith frames, you can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent of the others.The HTML frameset ElementThe frameset element holds one or more frame elements. Each frame element can hold a separate document. The frameset element states HOW MANY columns or rows there will be in the frameset, and HOW MUCH percentage/pixels of space will occupy each of them.The HTML frame ElementThe <frame> tag defines one particular window (frame) within a frameset. In the example below we have a frameset with two columns. The first column is set to 25% of the width of the browser window. The second column is set to 75% of the width of the browser window. The document "frame_a.htm" is put into the first column, and the document "frame_b.htm" is put into the second column: <frameset cols="25%,75%"> <frame src="frame_a.htm" /> <frame src="frame_b.htm" /> </frameset> Note: The frameset column size can also be set in pixels (cols="200,500"), and one of the columns can be set to use the remaining space, with an asterisk (cols="25%,*").HTML Frame TagsTag <frameset> Defines a set of frames <frame /> Defines a sub window (a frame) <no frames> Defines a no frame section for browsers that do not handle frames DescriptionYou might also likeHtmlbasicsforabeginner 180109035906PDFNo ratings yetHtmlbasicsforabeginner 18010903590637 pagesCode Lyoko Generation: Book 1, The Rise of AnaxPDFNo ratings yetCode Lyoko Generation: Book 1, The Rise of Anax281 pagesWP Unit-1PDFNo ratings yetWP Unit-147 pagesHTML CSS PHP NotesPDFNo ratings yetHTML CSS PHP Notes18 pagesHTML Basics Guide Pythonista PlanetPDFNo ratings yetHTML Basics Guide Pythonista Planet16 pagesWebTechnology Unit II NotesPDFNo ratings yetWebTechnology Unit II Notes16 pagesLecture 1 Html-CombinedPDFNo ratings yetLecture 1 Html-Combined57 pagesUnit Ii Web DesigningPDFNo ratings yetUnit Ii Web Designing55 pagesHTML GreatthoughtsITPDFNo ratings yetHTML GreatthoughtsIT37 pagesHTML Slides AllPDFNo ratings yetHTML Slides All61 pagesUnit 3-HTMLPDFNo ratings yetUnit 3-HTML4 pagesGyvbhjnmkPDFNo ratings yetGyvbhjnmk16 pagesHTML Unit1 NotesPDFNo ratings yetHTML Unit1 Notes22 pagesWT UNIT-IPDFNo ratings yetWT UNIT-I143 pagesHypertext Mark Up Language: Jonalyn G. EbronPDFNo ratings yetHypertext Mark Up Language: Jonalyn G. Ebron36 pagesPDF Div Class 2qs3tf Truncatedtext Module Wrapper Fg1km9p Classtruncatedtext Module Lineclamped 85ulhh Style Max Lines5building Llms for Production Louis Francois Bouchard p Div CompressPDFNo ratings yetPDF Div Class 2qs3tf Truncatedtext Module Wrapper Fg1km9p Classtruncatedtext Module Lineclamped 85ulhh Style Max Lines5building Llms for Production Louis Francois Bouchard p Div Compress120 pagesHTMLCSSJS 3PDFNo ratings yetHTMLCSSJS 3113 pagesHTML5 COURSEPDFNo ratings yetHTML5 COURSE51 pagesHTMLPDFNo ratings yetHTML59 pagesMultimedia &AnimationS NEP NotesPDFNo ratings yetMultimedia &AnimationS NEP Notes157 pagesHTML and CssPDFNo ratings yetHTML and Css27 pagesWhat Is HTMLPDFNo ratings yetWhat Is HTML7 pagesIntroduction To HTML 2PDFNo ratings yetIntroduction To HTML 234 pagesAdi BankPDFNo ratings yetAdi Bank60 pagesHTML ppt (1)PDFNo ratings yetHTML ppt (1)40 pagesWeb Programming Unit - IPDF80% (10)Web Programming Unit - I45 pagesWT Lab ManualPDFNo ratings yetWT Lab Manual79 pagesCPL - Bpops103PDFNo ratings yetCPL - Bpops10355 pagesUnit-1PDFNo ratings yetUnit-1102 pagesHTML Introduction: A Simple HTML DocumentPDFNo ratings yetHTML Introduction: A Simple HTML Document8 pagesAbout-HTMLPDFNo ratings yetAbout-HTML25 pagesUNIT 1 - EditedPDFNo ratings yetUNIT 1 - Edited17 pagesReadme For Mastercam X9: Operating Systems Supported in X9PDFNo ratings yetReadme For Mastercam X9: Operating Systems Supported in X952 pagesWT Notes PSPPDFNo ratings yetWT Notes PSP50 pagesRW E-Jet User Manual V12!2!4 Feb 2012PDFNo ratings yetRW E-Jet User Manual V12!2!4 Feb 2012106 pagesOD M1 Introduction To Data EngineeringPDFNo ratings yetOD M1 Introduction To Data Engineering69 pagesNotes Grade+7PDFNo ratings yetNotes Grade+734 pagesweb-tech-unit1-part2PDFNo ratings yetweb-tech-unit1-part220 pagesHTMLPDFNo ratings yetHTML45 pagesInternet Programming (HTML)PDFNo ratings yetInternet Programming (HTML)36 pagesLesson 1: (Hypertext Mark-Up Language)PDFNo ratings yetLesson 1: (Hypertext Mark-Up Language)42 pagesAldwin Karlo M. AngcayaPDFNo ratings yetAldwin Karlo M. Angcaya37 pagesHTML Ppt NewPDFNo ratings yetHTML Ppt New28 pagesi.MX35 ApplicationsPDFNo ratings yeti.MX35 Applications147 pagesCreating Web Page Using HTMLPDFNo ratings yetCreating Web Page Using HTML40 pages4th Quarter Exam ICTPDF100% (1)4th Quarter Exam ICT3 pagesCopy of Module 2. Introduction to HTML.docxPDFNo ratings yetCopy of Module 2. Introduction to HTML.docx26 pagesHTML FormsPDFNo ratings yetHTML Forms7 pagesEce PDFPDFNo ratings yetEce PDF16 pagesWhat Is HTML?: My First Heading My First ParagraphPDFNo ratings yetWhat Is HTML?: My First Heading My First Paragraph8 pagesClass - 10 HTML-1PDFNo ratings yetClass - 10 HTML-162 pagesDos & HTML: Project ReportPDFNo ratings yetDos & HTML: Project Report17 pagesBODY Tag: - : HTML Common TagsPDFNo ratings yetBODY Tag: - : HTML Common Tags15 pagesWeb Programming NotesPDFNo ratings yetWeb Programming Notes82 pages1.notes - Intro To HTML-696PDFNo ratings yet1.notes - Intro To HTML-69618 pagesObstacle Avoiding RobotPDFNo ratings yetObstacle Avoiding Robot9 pagesEarFun UBOOM L Portable Bluetooth Speaker User ManualPDFNo ratings yetEarFun UBOOM L Portable Bluetooth Speaker User Manual42 pagesWhat Is HTMLPDFNo ratings yetWhat Is HTML23 pagesIntroduction To HTMLPDFNo ratings yetIntroduction To HTML33 pagesTushar 36417788818 Project Bcom (H) 6 C E-Commerce HTMLPDFNo ratings yetTushar 36417788818 Project Bcom (H) 6 C E-Commerce HTML21 pagesHTML Tags HTML Markup Tags Are Usually Called HTML TagsPDFNo ratings yetHTML Tags HTML Markup Tags Are Usually Called HTML Tags7 pagesWhat Is HTML?PDFNo ratings yetWhat Is HTML?19 pagesHTML ProgrammingPDFNo ratings yetHTML Programming6 pagesThis A Heading This Is A Paragraph. This Is Another Paragraph.PDFNo ratings yetThis A Heading This Is A Paragraph. This Is Another Paragraph.4 pagesWit Unit2PDFNo ratings yetWit Unit29 pagesSelina Concise Maths Solutions Class 6 Chapter 18 Fundamental ConceptsPDFNo ratings yetSelina Concise Maths Solutions Class 6 Chapter 18 Fundamental Concepts11 pagesTraining CoursePDFNo ratings yetTraining Course51 pagesSoftware Requirements Engineering Training - Problematic QuestionsPDFNo ratings yetSoftware Requirements Engineering Training - Problematic Questions9 pagesJanuary 2015 Calendar (Australia)PDFNo ratings yetJanuary 2015 Calendar (Australia)12 pagesHTML (BScCsit 5th Semester)PDFNo ratings yetHTML (BScCsit 5th Semester)59 pagesWeb Programming Notes PDFPDFNo ratings yetWeb Programming Notes PDF82 pagesOffline Registration Form: General Eligibility CriteriaPDFNo ratings yetOffline Registration Form: General Eligibility Criteria4 pagesDC-Unit 1PDFNo ratings yetDC-Unit 19 pagesHTML - NotePDF100% (1)HTML - Note8 pagesCyber Law and Professional Ethics LabsheetPDFNo ratings yetCyber Law and Professional Ethics Labsheet6 pagesAnil Pakala: ObjectivePDFNo ratings yetAnil Pakala: Objective3 pagesMS Authenticator Change Phone GuidePDFNo ratings yetMS Authenticator Change Phone Guide5 pagesIntroduction To HTMLPDFNo ratings yetIntroduction To HTML17 pagesChandhya ResumePDFNo ratings yetChandhya Resume2 pagesTUTORIAL-1 Curve FittingPDFNo ratings yetTUTORIAL-1 Curve Fitting2 pagesAccurate and Dependable Roll Hardness TestingPDFNo ratings yetAccurate and Dependable Roll Hardness Testing2 pagesAssignment 1PDFNo ratings yetAssignment 14 pagesKamaljeet Kaur: Career ObjectivePDFNo ratings yetKamaljeet Kaur: Career Objective2 pagesInstallPDFNo ratings yetInstall2 pagesEstimation_of_Number_of_Chewing_Strokes_and_Swallowing_Events_by_Using_LSTM-CTC_and_Throat_MicrophonePDFNo ratings yetEstimation_of_Number_of_Chewing_Strokes_and_Swallowing_Events_by_Using_LSTM-CTC_and_Throat_Microphone2 pagesEval PostfixPDFNo ratings yetEval Postfix3 pagesResume 2024PDFNo ratings yetResume 20242 pagesWeb Programming NotesPDF100% (1)Web Programming Notes82 pagesGeneral Mathematics 11PDF100% (1)General Mathematics 113 pagesEasy html and cssFrom EverandEasy html and cssS VASISTNo ratings yet
HTML File
AI-enhanced title and description
HTML, which stands for Hyper Text Markup Language, is the predominant markup language for web pages. HTML is the basic building-blocks of webpages. HTML is written in the form of HTML elements consisting of tags, enclosed in angle brackets (like <html>) within the web page content. HTML tags normally come in pairs like <h1> and </h1>. The first tag in a pair is the start tag, the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, tables, images, etc.
HTML HeadingsHTML headings are defined with the <h1> to <h6> tags.
Example<h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3>
HTML ParagraphsHTML paragraphs are defined with the <p> tag.
Example<p>This is a paragraph.</p> <p>This is another paragraph.</p>
HTML LinksHTML links are defined with the <a> tag.
Example<a href="http://www.google.co.in">This is a link</a>
HTML ImagesHTML images are defined with the <img> tag.
Example<img src="w3schools.jpg" width="104" height="142" />
HTML ElementsAn HTML element is everything from the start tag to the end tag: Start tag * <p> <a href="default.htm" > <br /> * The start tag is often called the opening tag. The end tag is often called the closing tag. Element content This is a paragraph This is a link </p> </a> End tag *
HTML AttributesAttributes provide additional information about HTML elements. HTML elements can have attributes Attributes provide additional information about an element Attributes are always specified in the start tag Attributes come in name/value pairs like: name="value"
Attribute ExampleHTML links are defined with the <a> tag. The link address is specified in the href attribute:
Example<a href="http://www.w3schools.com">This is a link</a>
HTML FontsThe <font> tag is removed from HTML. The World Wide Web Consortium (W3C) has removed the <font> tag from its recommendations. In HTML style sheets (CSS) should be used to define the layout and display properties for many HTML elements. The example below shows how the HTML could look by using the <font> tag:
Example<p> <font size="5" face="arial" color="red"> This paragraph is in Arial, size 5, and in red text color. </font> </p>
Example<html>
<body style="background-color:yellow;"> <h2 style="background-color:red;">This is a heading</h2> <p style="background-color:green;">This is a paragraph.</p> </body> </html> The background-color property makes the "old" bgcolor attribute obsolete.
Example<html> <body> <h1 style="font-family:verdana;">A heading</h1> <p style="font-family:arial;color:red;font-size:20px;">A paragraph.</p> </body> </html> The font-family, color, and font-size properties make the old <font> tag obsolete.
Example<html> <body> <h1 style="text-align:center;">Center-aligned heading</h1> <p>This is a paragraph.</p> </body> </html>
HTML TablesTables are defined with the <table> tag. A table is divided into rows (with the <tr> tag), and each row is divided into data cells (with the <td> tag). td stands for "table data," and holds the content of a data cell. A <td> tag can contain text, links, images, lists, forms, other tables, etc.
Table Example<table border="1"> <tr> <td>Sr. No.</td> <td>Names</td> </tr> <tr> <td>1.</td> <td>Anjali</td> </tr> </table> How the HTML code above looks in a browser:
Sr.no.
NAMES
1.
Anjali
HTML ListsThe most common HTML lists are ordered and unordered lists:
An unordered list:List item List item List item
HTML FormsHTML forms are used to pass data to a server. A form can contain input elements like text fields, checkboxes, radio-buttons, submit buttons and more. A form can also contain select lists, text area, field set, legend, and label elements. The <form> tag is used to create an HTML form: <form> . input elements . </form>
An input element can vary in many ways, depending on the type attribute. An input element can be of type text field, checkbox, password, radio button, submit button, and more. The most used input types are described below.
Text Fields<input type="text" /> defines a one-line input field that a user can enter text into: <form> First name: <input type="text" name="first name" /><br /> Last name: <input type="text" name="last name" /> </form> How the HTML code above looks in a browser: First name: Last name: Note: The form itself is not visible. Also note that the default width of a text field is 20 characters.
Password Field<input type="password" /> defines a password field: <form> Password: <input type="password" name="pwd" /> </form> How the HTML code above looks in a browser: Password: Note: The characters in a password field are masked (shown as asterisks or circles).
Radio Buttons<input type="radio" /> defines a radio button. Radio buttons let a user select ONLY ONE of a limited number of choices: <form> <input type="radio" name="sex" value="male" /> Male<br /> <input type="radio" name="sex" value="female" /> Female </form>
Checkboxes<input type="checkbox" /> defines a checkbox. Checkboxes let a user select ONE or MORE options of a limited number of choices. <form> <input type="checkbox" name="vehicle" value="Bike" /> I have a bike<br /> <input type="checkbox" name="vehicle" value="Car" /> I have a car </form> How the HTML code above looks in a browser: I have a bike I have a car
Submit Button<input type="submit" /> defines a submit button. A submit button is used to send form data to a server. The data is sent to the page specified in the form's action attribute. The file defined in the action attribute usually does something with the received input: <form name="input" action="html_form_action.asp" method="get"> Username: <input type="text" name="user" /> <input type="submit" value="Submit" /> </form> How the HTML code above looks in a browser: Username: If you type some characters in the text field above, and click the "Submit" button, the browser will send your input to a page called "html_form_action.asp". The page will show you the received input
HTML FramesWith frames, you can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent of the others.