Better way to format the text: tags HTML or CSS?

Probably a silly question, but...  I can format the text in a div using CSS Styles (Font size, make-Style, Font-Weight, etc.) or by applying an HTML tag, for example, < H1 >. (Or, I guess a combination where I use CSS to format the tag, but never mind that for now.)

In general, one approach is better than the other? Thank you!

Titles, paragraphs, lists, etc. give the semantic meaning and the vital structure to your content.  You can build a site without CSS styles, but you can not build a site without titles, paragraphs, and other HTML tags.

Nancy O.

Tags: Dreamweaver

Similar Questions

  • Is there a way to format the text (ie: "BOLD", size) when you use the browser edit feature

    How to add a symbol of the brand

    Put in shape/style is not supported through IBE at the moment but you can type the symbol of such mark as mentioned in the following article, there should be no problem in synchronization to your Muse project - http://www.wikihow.com/Type-the-Trademark-Symbol

    Thank you

    Vinayak

  • Can I format the text that appears in a browser window, triggered by a PHP script?

    My PHP processing script form sends emails perfectly.

    Can I use online HTML tags for formatting the text thanks that is generated by the script on presentation and displayed in a new browser window.

    Here is the corresponding PHP code

    ? >

    <!-success html below - >

    Please contact us. We will be in touch with you very soon. Use your back button to return to our Web site.

    <? PHP

    }

    Die();

    ? >

    Yes, you can. Try it.

    In fact, your thanks is not yet in the PHP code because you stop PHP in front of her and then restart PHP after.

    You could also write it like that (I won't say one way is better than the other):

    <>

    success html below

    ECHO '.

    Please contact us. We will be in touch with you very soon. Use your back button to return to our Web site.

    ";

    }

    Die();

    ?>

  • Is there a way to get the text to reformat then I Zoom in to read an article.

    Is there a way to get the text to reformat then I Zoom in to read an article, so I can't do a pan on?

    Unfortunately not - this is one of the disadvantages of pinch to zoom - makes the biggest full page

  • Is there a way to increase the text size in Windows 8 applications?

    Is there a way to increase the text size in Windows 8 applications?

    I find the way to text size too small in most news reader applications.  Looks like you should be able to increase or decrease the text size the same thing you do in a browser using CTRL + or CTRL-, or your mouse wheel.

    You can increase the size of the text on the desktop, but it doesn't have any effect on the subway, or whatever you call it today.

    Probably, there should be a setting to increase the size of the text under settings of PC!

    IMO, I would probably find a lot of people out there wouldn't buy a W8 Tablet since the text is to small to read!  This has fixed as soon as POSSIBLE!

    Edit: I noticed that a lot of Apps is updated to help with this problem.  Unfortunately not on the main screen of App, if you select an item to read the improvement will become visible or selectable.

    Hello

    On the start screen simply type the word "police" and select the filter settings on the right.  You should see an option 'Make text and other items more or less '.  Click on that and adjust the text or at the desired size.

    -Curt

    These instructions don't change the DPI of the screen ratio when it is in the classic user of Windows interface. The new interface Windows username however does not change when this setting is changed (which, in itself, is rather unfortunate).

    The only way to change the font size of Windows apps Store is as follows:

    1. click on the Start button to get the new user of Windows interface

    2 start typing 'police' (without the quotes)

    3. click on "settings".

    4. click on "enlarge everything on your screen; This opens the settings of PC (which is different from the classic Configuration screen)

    5. set "Enlarge everything on your screen" on it.

    Personally, I still find it too small for a lot of apps, but it's a small improvement on the default settings.

  • Is there a better way to remove the toolbar "Frequently used tools" (which I've never used!) to open whenever I open Acrobat reader. rather than uninstall Acrobat and use another PDF reader?

    Is there a better way to eliminate the "frequently used tools.
    toolbar (which I've never used!) to open whenever I open Acrobat
    drive. rather than uninstall Acrobat and use another PDF reader?

    Hi jg49392310,

    You can disable the tool pane with Adobe Acrobat Reader DC was last updated, see this note cover hide the tools Panel in Acrobat and Acrobat Reader DC at all times.

    Kind regards

    Nicos

  • I created a pdf form to a Word doc with the air police 9 pt formatted; the text on the pdf form is air 9 pt, but the fields are formatted in courier 12 pt - how can I reformat the police in the fields?

    I created a pdf form to a Word doc with the air police 9 pt formatted; the text on the pdf form is air 9 pt, but the fields are formatted in courier 12 pt - how can I reformat the police in the fields?

    Edit the form fields so that they use Helvetica by 9 points. Do not set the Arial font. Acrobat/Reader will use a private version of Arial as a substitute for Helvetica. If you specify Arial, it will integrate the entire police (sometimes several times), makes that increase the file size unnecessarily.

  • Looking for a better way to count the responses to the survey questions

    Hello all - I have created a survey for a site and now want to display the results to the admins of the site. I am trying to display the countdown - the number of times that a question has been answered in a certain way. I realize that I may need to build the investigation itself differently and how it stores data, but here is how it goes far.

    There are 10 questions, each with 4 options of radio button groups. The database table contains a column for each issue and stores the value of the selected option button. So it's pretty simple.

    Now on the results page, that it's the only way I can think to do, but there must be a better way. For each answer, I create a Recordset filtered on the issue and the value option, then display the total number of records. Which works great, but count each option, which means that 40 recordsets on the page - al simply determine "how many times was the Question 1, Option was selected and how many times has the Question 1, selected Option B and so on.»

    The only other thing I can think it maybe is a better way to count the occurrences of these values in the table is with PHP or in the SQL itself.  Or, perhaps, if the values themselves are entirely digital and follow a kind of model I can use a solution of math.

    Thoughts, solutions, and ideas are welcome!  Thank you.

    Your problem is a bad design. You should have a separate line for each answer, not to separate the columns. It also makes the very rigid investigation. A simple design would include a few tables - a master of the investigation that stores the questions and response table that contains a foreign key to the question number in the master, the answer, as well as any other details you need to capture. You might get more elaborate, but it's essential. Your result page and then just be a single recordset with a simple query with a group by clause.

    I urge you to review this before going any further.

  • Is there a better way to make the selection on this slider?

    Is there a better way to make the selection on this slider?
    I need to retrieve the test scores max (tesc_code SO1, S02, S03 etc... etc...)
    I get the results presented here, but I wonder if it's a better way to do this.
    The results should be back in the same cursor... e
    CURSOR c_sortest_SAT_scores(p_pidm IN saturn.sortest.sortest_pidm%TYPE,
    p_term in saradap.saradap_term_code_entry%TYPE)
    IS
    SELECT   s01.sortest_pidm       pidm_s01,
             s01.sortest_tesc_code  tesc_code_s01,
             s01.sortest_test_score score_s01,
             s02.sortest_pidm       pidm_s02,
             s02.sortest_tesc_code  tesc_code_s02,
             s02.sortest_test_score score_s02,
             s07.sortest_pidm       pidm_s07,
             s07.sortest_tesc_code  tesc_code_s07,
             s07.sortest_test_score score_s07,
             s08.sortest_pidm        pidm_s08,
             s08.sortest_tesc_code   tesc_code_s08,
             s08.sortest_test_score score_s08,
             s09.sortest_pidm        pidm_s09,
             s09.sortest_tesc_code   tesc_code_s09,
             s09.sortest_test_score  score_s09
      FROM   saturn.sortest s01,
             saturn.sortest s02,
             saturn.sortest s07,
             saturn.sortest s08,
             saturn.sortest s09
     WHERE       s01.sortest_tesc_code IN ('S01')
             AND s01.sortest_pidm = p_pidm
             AND s01.sortest_term_code_entry = p_term
             AND s01.sortest_test_score =
                   (SELECT   MAX (s01a.sortest_test_score)
                      FROM   saturn.sortest s01a
                     WHERE   S01.sortest_pidm = s01a.sortest_pidm
                             AND S01A.sortest_tesc_code IN ('S01'))
             AND s02.sortest_tesc_code IN ('S02')
             AND s02.sortest_pidm = p_pidm
             AND s02.sortest_term_code_entry = p_term
             AND s02.sortest_test_score =
                   (SELECT   MAX (S02A.sortest_test_score)
                      FROM   saturn.sortest s02a
                     WHERE   S02.sortest_pidm = s02a.sortest_pidm
                             AND S02A.sortest_tesc_code IN ('S02'))
             AND s07.sortest_tesc_code IN ('S07')
             AND s07.sortest_pidm = p_pidm 
             AND s07.sortest_term_code_entry = p_term
             AND s07.sortest_test_score =
                   (SELECT   MAX (S07A.sortest_test_score)
                      FROM   saturn.sortest S07A
                     WHERE   S07.sortest_pidm = S07A.sortest_pidm
                             AND S07A.sortest_tesc_code IN ('S07'))
             AND S08.sortest_tesc_code IN ('S08')
             AND S08.sortest_pidm = p_pidm 
             AND S08.sortest_term_code_entry = p_term
             AND S08.sortest_test_score =
                   (SELECT   MAX (S08A.sortest_test_score)
                      FROM   saturn.sortest S08A
                     WHERE   S08.sortest_pidm = S08A.sortest_pidm
                             AND S08A.sortest_tesc_code IN ('S08'))
                     AND S09.sortest_tesc_code IN ('S09')
             AND S09.sortest_pidm = p_pidm 
             AND S09.sortest_term_code_entry = p_term
             AND S09.sortest_test_score =
                   (SELECT   MAX (S09A.sortest_test_score)
                      FROM   saturn.sortest S09A
                     WHERE   S09.sortest_pidm = S09A.sortest_pidm
                             AND S09A.sortest_tesc_code IN ('S09'));

    Hello

    The problem is that you to act as a Cartesian product with all the tables (you will get: S01 * S02 * S08 * S09 lines!) Is it really what you want?
    I don't think...

    Wharton, you can do (with no Cartesian product) is:

    CURSOR c_sortest_SAT_scores(p_pidm IN saturn.sortest.sortest_pidm%TYPE,
    p_term in saradap.saradap_term_code_entry%TYPE)
    IS
    SELECT sortest_pidm pidm, sortest_tesc_code tesc_code,
           sortest_test_score score
      FROM sortest
     WHERE (sortest_tesc_code, sortest_test_score) IN (
              SELECT   sortest_tesc_code, MAX (sortest_test_score)
                  FROM sortest
                 WHERE sortest_tesc_code IN ('S01', 'S02', 'S07', 'S08', 'S09')
                   AND sortest_pidm = :p_pidm
                   AND sortest_term_code_entry = :p_term
              GROUP BY sortest_tesc_code)
       AND sortest_pidm = :p_pidm
       AND sortest_term_code_entry = :p_term
    

    However you absolutely need a Cartesian product, you can do:

    WITH allrows AS
         (SELECT sortest_pidm pidm, sortest_tesc_code tesc_code,
                 sortest_test_score score
            FROM sortest
           WHERE (sortest_tesc_code, sortest_test_score) IN (
                    SELECT   sortest_tesc_code, MAX (sortest_test_score)
                        FROM sortest
                       WHERE sortest_tesc_code IN
                                              ('S01', 'S02', 'S07', 'S08', 'S09')
                         AND sortest_pidm = :p_pidm
                         AND sortest_term_code_entry = :p_term
                    GROUP BY sortest_tesc_code)
             AND sortest_pidm = :p_pidm
             AND sortest_term_code_entry = :p_term)
    SELECT s01.pidm pidm_s01, s01.tesc_code tesc_code_s01, s01.score score_s01,
           s02.pidm pidm_s02, s02.tesc_code tesc_code_s02, s02.score score_s02,
           s07.pidm pidm_s07, s07.tesc_code tesc_code_s07, s07.score score_s07,
           s08.pidm pidm_s08, s08.tesc_code tesc_code_s08, s08.score score_s08,
           s09.pidm pidm_s09, s09.tesc_code tesc_code_s09, s09.score score_s09
      FROM allrows s01, allrows s02, allrows s07, allrows s08, allrows s09
     WHERE s01.tesc_code = 'S01'
       AND s02.tesc_code = 'S02'
       AND s07.tesc_code = 'S07'
       AND s08.tesc_code = 'S08'
       AND s09.tesc_code = 'S09'
    

    The lines will be stored in memory to a temporary table before that product happen (should be faster)...

  • How can I preview the changes in HTML or CSS on the fly?

    Can't see the files on my local machine? How can I see the changes in HTML or CSS, I'm doing with Chrome development tools?

    Thank you!

    Inspect edge is designed to get an overview of your content with multiple mobile devices. Therefore, you can make synchronous Preview in your local computer as local machine cannot be coupled with the application.

    Inspect dashboard provides a Weinre server in the cloud of Creative Adobe that offers the possibility of inspection remotely debug your content on the devices remotely.

  • Text box makes the text in HTML format... stop!

    Hello

    I use AS 2 with Flash CS5.

    Every year in my teaching of interactivity in Flash, we get a few students who are unable to do this simple calculator to work. I have included the code to show you what we do.

    The problem is that the text boxes, rather than return a number, returns the HTML code. You can see the problem when you draw the 'response' output in the output window.

    We checked that "render text as HTML" is not clicked. I would really like to hear a resolution - maybe I can do that a better way! It seems if simple, yet he always causing trouble. I add that I do not see why it does?

    I would appreciate any advice.

    Stop();

    var a: number = Math.round (Math.random () * 10);

    var b:Number = Math.round (Math.random () * 10);

    var score: Number = 0;

    var sndTrack:Sound = new Sound();

    var sndTrack2:Sound = new Sound();

    trace(a+b);

    check_btn.onRelease = function (): Void {}

    trace (response);

    If (Number (answer)! = (a + b))

    {

    e = ("Sorry, the answer has been" + (a + b));

    sndTrack2.attachSound ("gasp");

    sndTrack2.start ();

    }

    on the other

    {

    e = ("well done, the answer was correct" + (a + b));

    sndTrack.attachSound ("clap");

    sndTrack.start ();

    Note ++;

    }

    }

    next_btn.onRelease = function (): Void {}

    e = "";

    response ="";

    a = Math.round (Math.random () * 10);

    b = Math.round (Math.random () * 10);

    Selection.setFocus ("answer");

    }

    Oh, you're not made of text.

    You must use the variable property of the textfield object.  which is the origin of the problem; You should never use that.  Use the text property of the textfield object.

  • A better way to treat the form as a table with the variable column type?

    I wanted to make a column to return according to the status of a flag column as readonly. I have a column defined as follows in the report query.

    Decode (sys_flag, 'Y', APEX_ITEM. DISPLAY_AND_SAVE 3, TYPE_CODE, APEX_ITEM. SELECT_LIST_FROM_LOV (3, TYPE_CODE, 'LOV_TYPE_CODE_LOV')) AS TYPE_CODE

    To get the SRM process noting that column, I had to put this 'band of HTML code' to 'No', then the column attributes, I put:
    "Expression HTML" to "#TYPE_CODE #
    ' Display under "to"text display (saves the State).

    And then it took me to get new lines of work:
    "Default of Type" to "Expression of PL/SQL.
    'Default' to APEX_ITEM. SELECT_LIST_FROM_LOV (3, NVL(:P18_TYPE_CODE,'LOV_TYPE'), NULL, 'LOV_TYPE_CODE_LOV', ' NO')

    This makes large, however submit that it seems that the checksum of line used by MRU included the raw HTML generated by the APEX_ITEM package and not just the value of the column. I worked around this by including an element hidden checksum and creating a process that replaces the checksum generated automatically with my custom.

    Is there a better way to intercept this checksum, preferably before it is rendered on the page? I now hide the sum of hidden HTML control in the output HTML of another column, so it's a bit ugly. If not, is there an easier way to achieve what I'm looking for? I tried several combinations, and it seems to work better. It's just a shame there's no way to have a standard hidden column included in the SRM process.

    Hello

    I tried different possibilities and seems to run the following:

    Create a report questioning in NORMAL SQL function to help:

    SELECT
    APEX_ITEM.HIDDEN(1,EMPNO) || APEX_ITEM.TEXT(2,ENAME) ename,
    CASE WHEN DEPTNO = 10 THEN
     APEX_ITEM.HIDDEN(3, SAL) || SAL
    ELSE
     APEX_ITEM.TEXT(3, SAL)
    END SAL,
    EMPNO,
    DEPTNO || APEX_ITEM.MD5_CHECKSUM(ENAME, SAL) DETPNO
    FROM EMP
    

    Do not specify something special for column definitions.

    Create a button that submits the page.

    Create a PL/SQL process that runs "On submit - after calculations" and Validations, triggered by this button and using the following code:

    BEGIN
    APEX_ITEM.MULTI_ROW_UPDATE('#OWNER#:EMP:EMPNO,1:,|ENAME,2:SAL,3');
    END;
    

    I've done here: http://htmldb.oracle.com/pls/otn/f?p=55041:35

    Any element with the value of DEPTNO 10 has the value SAL, read-only, as otherwise it's editable. This is done by creating a hidden input field for the actual value, followed by the text version OR by creating a single entry field. This ensures that we have the correct number of SAL elements on the page.

    APEX_ITEM. MULTI_ROW_UPDATE is the "manual" version of the MRU that you would normally get with a form of table and works for above normal as sql based query reports. The format of this very strict is that you must always allow for two primary keys. See the text of presentation here: http://download.oracle.com/docs/cd/B28359_01/appdev.111/b32258/api.htm#CHDFDACC

    Andy

  • replace the text in html

    We have a column of type CLOB data table. This CLOB column store html text.

    the example data:

    < p >

    Do the same for the footer:

    < /p >

    < p >

    < br / >

    < table border = "0" cellpadding = "0" cellspacing = "0" style = "" width: 672px "width ="840">"

    < tbody >

    < b >

    < td nowrap = "nowrap" style = "height: 31px;" Width: 152px ">"

    < p >

    [Number of lines in the body]; 1 < /p >

    < table >

    < /tr >

    < / tbody >

    < /table >

    < /p >

    How can we replace the string 'body' with 'dummy' in this example without replacing the tag "tbody"?

    We want to apply a find and replace function of html data, without touching the html tags.

    How can achieve us on db oracle 11.2?

    TX

    For complex examples, you can use the parser HTML for example (JSOUP) available on this site: jsoup Java HTML Parser, with the best of the DOM, CSS and jquery

    You can load the jar with loadjava file into database and do a stored procedure for analyzing and replace java html code...

    It's simple and powerful library...

    Defining the content of the text of the items: jsoup Java HTML parser

    Selector syntax is used to find items: jsoup Java HTML parser

    You simply load html in the parser... and then you iterate tags and search of the string, you need to replace...

    Replace this string and save html updated the db back or where you want...

  • Is there a way to link the text fields in an interactive form in ID CS6?

    I'm recreating a form where they had several fields of text on the other. If the form was not interactive, it would be so the user could use to fill longer and more detailed answers to the questions.

    But since this is supposed to be interactive, I have a question the need to do this, at least that I could link them somehow, so that the user's long response would result from one field to the next according to the needs.

    Is it possible to do? Or it works better to merge into a large text 3 text fields?

    If the latter, is there a way to change a text field to return in a text box or image? I can't find this option.

    You can't bond PDF fields with each other.

    Do a multi-line, Scrollable text to give program input field forces (in Acrobat, but not in InDesign, you can also set a limit on the number of characters).

    As I've said elsewhere, choose object > Interactive > convert to object to a field of a normal object.

  • How to format the text vertical line head

    I have a spreadsheet of list of control with a large number of lines. Since I fill the cells with ✓ or keep them empty I would transform the text of head of line in vertical direction to get the width of the worksheet as small as possible.

    How can I get this format?

    Hi FMW.

    Numbers are not (yet) allow the cells of a table should rotate. Of workaround puts on the header line text boxes.

    See this tip for the user:

    Rotate the contents of the cell to 3 numbers: workaround

    Kind regards

    Ian.

Maybe you are looking for