Software Development Exam  >  Software Development Videos  >  HTML Basics- Create a designed webpage from Scratch  >  HTML Tutorial 02 - Simple HTML Text Formatting

HTML Tutorial 02 - Simple HTML Text Formatting Video Lecture | HTML Basics- Create a designed webpage from Scratch - Software Development

17 videos

Top Courses for Software Development

FAQs on HTML Tutorial 02 - Simple HTML Text Formatting Video Lecture - HTML Basics- Create a designed webpage from Scratch - Software Development

1. What is HTML?
Ans. HTML stands for HyperText Markup Language. It is the standard markup language used for creating web pages. HTML is composed of various elements and tags that are used to structure the content and define the layout of a webpage.
2. How can I format text in HTML?
Ans. Text formatting in HTML can be done using various tags. Some common formatting tags include: - <b> tag: This tag is used to make the text bold. - <i> tag: This tag is used to make the text italic. - <u> tag: This tag is used to underline the text. - <strong> tag: This tag is used to emphasize the importance of the text. - <em> tag: This tag is used to emphasize the text. By enclosing the desired text within these tags, you can apply the corresponding formatting to the text.
3. How can I change the font size in HTML?
Ans. To change the font size in HTML, you can use the <font> tag with the "size" attribute. For example, to set the font size to 16 pixels, you can use the following code: <font size="16">This is some text.</font> Alternatively, you can also use CSS (Cascading Style Sheets) to change the font size. By using the "style" attribute and the "font-size" property, you can set the font size directly within the HTML code.
4. Can I change the color of the text in HTML?
Ans. Yes, you can change the color of the text in HTML. This can be done using the <font> tag with the "color" attribute. For example, to set the text color to red, you can use the following code: <font color="red">This is some text.</font> Similarly, you can specify other colors by using their respective names or hexadecimal values.
5. Is it possible to align text in HTML?
Ans. Yes, you can align text in HTML using the "align" attribute. The attribute can be used with various tags such as <p> (paragraph), <h1> to <h6> (headings), and <div> (division). By setting the value of the "align" attribute to "left", "right", "center", or "justify", you can align the text accordingly. For example: <p align="left">This is left-aligned text.</p> <p align="right">This is right-aligned text.</p> <p align="center">This is center-aligned text.</p> <p align="justify">This is justified text.</p>
Explore Courses for Software Development exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

HTML Tutorial 02 - Simple HTML Text Formatting Video Lecture | HTML Basics- Create a designed webpage from Scratch - Software Development

,

MCQs

,

Free

,

video lectures

,

past year papers

,

Sample Paper

,

Objective type Questions

,

practice quizzes

,

Viva Questions

,

Extra Questions

,

HTML Tutorial 02 - Simple HTML Text Formatting Video Lecture | HTML Basics- Create a designed webpage from Scratch - Software Development

,

pdf

,

Important questions

,

ppt

,

shortcuts and tricks

,

HTML Tutorial 02 - Simple HTML Text Formatting Video Lecture | HTML Basics- Create a designed webpage from Scratch - Software Development

,

mock tests for examination

,

Exam

,

study material

,

Previous Year Questions with Solutions

,

Semester Notes

,

Summary

;