General HTML/Web Design Programming Q`s/Regarding html

Advertisement


Question
Hi, how can i align a text and increase its font-size or change its color at the same time?
for example
<html>
<title>whatever</title>
<body>
<h1 style="text-align:center">The Heading</h1>
Now what if i also want to increase it font-size or change its color?
thanks in advance

Answer
Hello - the following percent can be whatever you want it to be.  

<h1 "font-size:300%><font color="red">This is a heading</h1></font>

HTML is becoming replace with style sheets, but most of the tags will still work.  I would suggest that you check out the links below.  The W3 is the developer of HTML, there site is totally free and they have hands on try it for all the code.  I know it will be extremely helpful

http://www.w3schools.com/html/default.asp

http://www.w3schools.com/html/html_styles.asp

Cheers
Nancy

General HTML/Web Design Programming Q`s

All Answers


Answers by Expert:


Ask Experts

Volunteer


Nancy Janyszeski

Expertise

I can help with basic HTML questions and web development concepts. I do not write JavaScript, but can help with the concept of using and where to find it.

Experience

Experience in the area.I am Microsoft Office User Specialist (MOUS) Master Certified and was certified as a MOUS Authorized Instructor. Instructional design and test writer for Skills Advantage LLC, http://skillsadv.com/, Test Publisher and E-learning Solutions Provider

Publications
Courseware, intro and advanced HTML

Education/Credentials
Microsoft MOUS certified, ICDL certified

Past/Present Clients
Vocational Schools

©2016 About.com. All rights reserved.